$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Frank Birbacher (bloodymir.crap_at_[hidden])
Date: 2008-06-14 16:55:06
Hi!
I'm looking for a method to execute some code for each thread starting.
It suffices to run that code for each boost::thread. I want to
initialize some thread local storage for each thread automatically. The
creating(!) thread shall supply an initial value and the created(!)
thread shall receive this value, essentially a copy of some thread local
variable. That is the new thread shall create a copy of the same
variable which the creating thread has. Is that possible using
boost::thread?
I hope my explaination is clear enough.
Frank