Threads

S

Simon Adler

Hello everybody,

I want to use Threads in a Programm to accelerate Some calculations
on a Grid.

May somebody advise some Links to a Thread Library? I need
Platform independence, because the Program has to work with
Win32, Linux and Irix.

Is there a Posix implementation?

Thanks for any advice

Simon Adler
 
?

=?iso-8859-1?q?Nils_O=2E_Sel=E5sdal?=

Hello everybody,

I want to use Threads in a Programm to accelerate Some calculations
on a Grid.

May somebody advise some Links to a Thread Library? I need
Platform independence, because the Program has to work with
Win32, Linux and Irix.

Is there a Posix implementation?
Both linux and irix should have pthreads,
pthreads for windows is here:
http://sources.redhat.com/pthreads-win32/

This is btw offtopic for this newsgroup.
 
M

Mike Wahler

Simon Adler said:
Hello everybody,

I want to use Threads in a Programm to accelerate Some calculations
on a Grid.

The ISO standard C++ language (the topic here), does
not have concepts of 'threads' or 'grid'.
May somebody advise some Links to a Thread Library? I need
Platform independence, because the Program has to work with
Win32, Linux and Irix.

Is there a Posix implementation?

I'm not positive, but I think so. A good place to
check is:
www.posix.org


Here's a rather extensive list of available libraries for
C++:
http://www.trumphurst.com/cpplibs1.html
( I didn't peruse it for threading stuff, but I wouldn't
be surprised if some are cited).

Also there's wxWidgets (formerly wxWindows), which has
threading support (might be listed at trumphurst, I
didn't check):

http://www.wxwidgets.org/

Last time I looked, wxWidgets supported platforms were:
Windows
Mac
OS/2
X Windows
Motif

For future reference,
Purpose of comp.lang.c++:
http://www.slack.net/~shiva/welcome.txt

HTH,
-Mike
 
F

Florian Bachmann

Simon said:
Hello everybody,

I want to use Threads in a Programm to accelerate Some calculations
on a Grid.

May somebody advise some Links to a Thread Library? I need
Platform independence, because the Program has to work with
Win32, Linux and Irix.

Is there a Posix implementation?

Yes, there is a POSIX Threads specification. It is available natively
on most UNIX derivatives, including Solaris, Linux, and Irix. There is
a port for Microsoft Windows platforms:

http://sources.redhat.com/pthreads-win32/

The PThreads-win32 library can be compiled as either DLL or a static
library, and is known to perform quite decently.


Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,503
Latest member
supremedee

Latest Threads

Top