static void* future_thread(void* ctx) { Future* pfut = static_cast<Future*>(ctx); usleep(1<<20); pfut->Signal(fut_yo()); return 0; }