Link to home
Start Free TrialLog in
Avatar of gunder
gunder

asked on

getting pthread to work

I'm having trouble getting C/C++ programs using the pthread
libraries to work.  I notice that most of the definitions
in the various /usr/include/pthread/mit/*.h files are within
#if defined(PTHREAD_KERENEL) / #endif
Since those are the definitions I need and they aren't
working I obviously don't have the 'PTHREAD_KERNEL'.
I have Slackware Linux 3.1, with kernel version 2.0.27.
How do I get the kernel set up so I can use the pthread
library?  (I didn't see an option in the make config :(  )
ASKER CERTIFIED SOLUTION
Avatar of bencur
bencur

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gunder
gunder

ASKER

First off, sorry it took so long to get back to you.  had a bad couple of weeks.

I see that your answer is correct and that I probably need to play with some things before I could post some specific questions about threaded programming under linux.  :)