$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-11-23 10:19:58
From: <d33pmind_at_[hidden]>
> How can I pass data to a thread ? Why does the boost::thread's
> constructor takes a boost::function0<void> as parameter, instead of a
> boost::function1<void> which would have allowed to pass it a pointer
> to a thread safe structure ?
Use boost::bind(threadproc, args).
-- Peter Dimov Multi Media Ltd.