10 2020 档案
摘要:import asyncio async def coro(i): print("core start",i) ret = await get(i) # 此处为耗时的io等操作 print("core end",i) return ret async def get(i): await asynci
阅读全文
摘要:BIO 同步阻塞bio:链接数目较少 public static void main(String args[]) throws IOException { ExecutorService pool = ThreadPool.getCachedThreadPool(); ServerSocket s
阅读全文
摘要:开机出现 grub rescue 指令模式 假如看到grub rescue,表示mbr (master boot record)的资料,完全对应不上磁盘的状况,所以无法辨别系统的所有分区,更不用说连grub menu都无法读入。可以grub程序有问题,找不到系统所在分区。 ls # (hd0), (
阅读全文