|
Boost Users : |
Subject: [Boost-users] [Newbie] How to create a class member thread
From: Daniele Barzotti (daniele.barzotti_at_[hidden])
Date: 2009-02-24 12:35:04
Hi,
I'm sure the question is very banal...
I have a thread object stored in a class:
class MyClass {
private:
void Init();
boost::thread _thread;
}
How can I create it in the implementation code?
MyClass::Init()
{
// start thread here...
}
Tnx.
Daniele.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net