Click to See Complete Forum and Search --> : Where can I download pthread library?


zhshqzyc
March 2nd, 2006, 02:06 PM
I am going to program threads under VC++, where can I download pthread library or API?

tkx

Siddhartha
March 2nd, 2006, 02:20 PM
I am going to program threads under VC++, where can I download pthread library or API?To program a multithreaded application on Windows, one doesn't need to use POSIX threads, unless and until one needs cross-platform compatibility, or is porting say a UNIX application to Win32.

So, do you need POSIX compatibility?
If not, Win APIs will be good and suffucient.

Siddhartha
March 2nd, 2006, 02:24 PM
[ redirected ]

Regards,
Siddhartha

NMTop40
March 2nd, 2006, 02:25 PM
and now to answer the OP's question, you might find them here:

http://sourceware.org/pthreads-win32/

zhshqzyc
March 2nd, 2006, 02:27 PM
Yes, I need POSIX compatibility because I only know POSIX threads programming.

Do you know how to program with other ways?

Siddhartha
March 2nd, 2006, 02:31 PM
Yes, I need POSIX compatibility because I only know POSIX threads programming.This is not a reason to *need* POSIX.
To me, this looks like an opportunity to learn something new, and apt. ;)
Do you know how to program with other ways?Yes.

Using Win APIs.

How to create a worker thread? (http://www.codeguru.com/forum/showthread.php?t=312452)
Win32 Multithreading References (http://www.codeguru.com/forum/showthread.php?p=1222389#post1222389)

zhshqzyc
March 2nd, 2006, 02:42 PM
NMTop40:

After I download dll,lib etc. Which folder should I put them?

Regards.