CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 16 of 16
  1. #16
    Lindley is offline Elite Member Power Poster Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+) Lindley has much to be proud of (1500+)
    Join Date
    Oct 2007
    Location
    Fairfax, VA
    Posts
    10,861

    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.

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts



HTML5 Development Center

Click Here to Expand Forum to Full Width