-
July 28th, 2009, 02:48 PM
#16
Re: STL Style function parameters?
Well, I'll give boost::thread a shot and see if it works.
The idea is that I've got a thread pool class, and I'd like to be able to create new tasks using either pthread or boost::thread syntax. Obviously I could wrap up the pthread function and args inside a boost::thread compatible functor, but it won't in general have the same type as whatever functor the user might pass in.....
Last edited by Lindley; July 28th, 2009 at 02:58 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|