Thread: Looking for light cross platform Threading library

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    58

    Looking for light cross platform Threading library

    Hello all
    im developing tiny application that is multi platform and now im
    looking for multi threading light library that will be multi platform , freeware.

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by umen242 View Post
    Hello all
    im developing tiny application that is multi platform and now im
    looking for multi threading light library that will be multi platform , freeware.
    boost::thread is pretty portable.

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    58
    is it small ?

  4. #4
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by umen242 View Post
    is it small ?
    Define "small." It's just a thin wrapper around the native threading API, whatever it happens to be. On most platforms, the thread API can be linked dynamically, so I'd expect it would add very little size.

  5. #5
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Qt has one, too, although I wouldn't call it "small".

  6. #6
    Registered User
    Join Date
    Nov 2006
    Posts
    519
    wxwidgets has a threading lib, too. Also pthread are implemented for linux, win32, mac (if that matches your definition of portable)

  7. #7
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    The lightest would probably be pthreads. It weighs nothing at all on POSIX systems.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  8. #8
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Note that there is no implementation of pthread on win64 (I couldn't find one at least).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compile Error that i dont understand
    By bobthebullet990 in forum C++ Programming
    Replies: 5
    Last Post: 05-05-2006, 09:19 AM
  2. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  3. Replies: 6
    Last Post: 03-02-2005, 02:45 AM
  4. Cross Platform Compatible 64Bit And 8Bit Integer
    By Geolingo in forum C++ Programming
    Replies: 5
    Last Post: 01-14-2005, 04:35 AM
  5. cross platform game programming
    By xddxogm3 in forum Game Programming
    Replies: 13
    Last Post: 08-22-2004, 09:40 AM