Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2008-08-08 16:21:29


Author: anthonyw
Date: 2008-08-08 16:21:29 EDT (Fri, 08 Aug 2008)
New Revision: 48036
URL: http://svn.boost.org/trac/boost/changeset/48036

Log:
Updated signature of create_thread
Text files modified:
   trunk/libs/thread/doc/thread_ref.qbk | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/libs/thread/doc/thread_ref.qbk
==============================================================================
--- trunk/libs/thread/doc/thread_ref.qbk (original)
+++ trunk/libs/thread/doc/thread_ref.qbk 2008-08-08 16:21:29 EDT (Fri, 08 Aug 2008)
@@ -933,7 +933,8 @@
         thread_group();
         ~thread_group();
 
- thread* create_thread(const function0<void>& threadfunc);
+ template<typename F>
+ thread* create_thread(F threadfunc);
         void add_thread(thread* thrd);
         void remove_thread(thread* thrd);
         void join_all();
@@ -970,7 +971,8 @@
 
 [section:create_thread Member function `create_thread()`]
 
- thread* create_thread(const function0<void>& threadfunc);
+ template<typename F>
+ thread* create_thread(F threadfunc);
 
 [variablelist
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk