摘要:
最近做了一个线程类,发现需要用用到重载delete,所以就此研究了一下先来看看代码struct thread{ thread() { printf("thread() 1\n"); std::thread st( [](thread *self) { int i=0; while(1) { std::chrono::milliseconds dura(1000); ... 阅读全文
posted @ 2013-03-03 14:44
卡卡的Blog
阅读(1230)
评论(1)
推荐(0)
浙公网安备 33010602011771号