ThreadCookie
ThreadCookie* cookie = new(std::nothrow) ThreadCookie(this, function, arg);
ThreadCookie* cookie = (ThreadCookie*)data;
ThreadCookie(GlobalTestContext* context, thread_func function, void* arg)
struct ThreadCookie;