CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 16 of 16
  1. #16
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Seattle, WA

    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.

Page 2 of 2 FirstFirst 12

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.