pthread_join(threadId_, NULL);
}
void *Thread::ThreadRoutine(void *arg)
{
Thread *thread = static_cast...cout << i << endl;//打印100
cout << j << endl;//打印10
}
};
int main()
{
Foo foo;
boost...::functionint)> fp = boost::bind(&Foo::memberFunc, &foo, 0.5, _1, 10);
fp(100);
boost:...:functionint, int)> fp2 = boost::bind(&Foo::memberFunc, &foo, 0.5, _1, _2);
fp2(100, 200);... boost::functionint, int)> fp3 = boost::bind(&Foo::memberFunc, boost::ref(foo), 0.5, _1, _