C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 03-27-2008, 02:43 PM   #1
Registered User
 
Join Date: Mar 2008
Posts: 57
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.
umen242 is offline   Reply With Quote
Old 03-27-2008, 02:46 PM   #2
Senior software engineer
 
brewbuck's Avatar
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 5,768
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.
brewbuck is offline   Reply With Quote
Old 03-27-2008, 03:26 PM   #3
Registered User
 
Join Date: Mar 2008
Posts: 57
is it small ?
umen242 is offline   Reply With Quote
Old 03-27-2008, 03:36 PM   #4
Senior software engineer
 
brewbuck's Avatar
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 5,768
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.
brewbuck is offline   Reply With Quote
Old 03-27-2008, 06:05 PM   #5
Registered User
 
Join Date: Dec 2006
Location: Canada
Posts: 2,009
Qt has one, too, although I wouldn't call it "small".
cyberfish is offline   Reply With Quote
Old 03-28-2008, 07:54 AM   #6
Registered User
 
Join Date: Nov 2006
Posts: 510
wxwidgets has a threading lib, too. Also pthread are implemented for linux, win32, mac (if that matches your definition of portable)
pheres is offline   Reply With Quote
Old 03-28-2008, 09:06 AM   #7
Cat without Hat
 
CornedBee's Avatar
 
Join Date: Apr 2003
Posts: 8,492
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
CornedBee is offline   Reply With Quote
Old 03-28-2008, 04:23 PM   #8
Registered User
 
Join Date: Dec 2006
Location: Canada
Posts: 2,009
Note that there is no implementation of pthread on win64 (I couldn't find one at least).
cyberfish is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Error that i dont understand bobthebullet990 C++ Programming 5 05-05-2006 09:19 AM
airport Log program using 3D linked List : problem reading from file gemini_shooter C Programming 3 03-04-2005 02:46 PM
Linked List of Linked list of linked list : problem with a condtion gemini_shooter C Programming 6 03-02-2005 02:45 AM
Cross Platform Compatible 64Bit And 8Bit Integer DeepBlackMagic C++ Programming 5 01-14-2005 04:35 AM
cross platform game programming xddxogm3 Game Programming 13 08-22-2004 09:40 AM


All times are GMT -6. The time now is 04:58 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22