12 Sep
2011
12 Sep
'11
10:41 a.m.
That's my question, I have create a thread groups with object and run them. I would like to run the same objects with the same parameters again, so need I (re)create the objects within the group again
Yes, you have to recreate them. Quoting from the documentation: "A new thread is launched by passing an object of a callable type that can be invoked with no parameters to the constructor. The object is then copied into internal storage, and invoked on the newly-created thread of execution." http://www.boost.org/doc/libs/1_47_0/doc/html/thread/thread_management.html