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 :( )
libraries to work. I notice that most of the definitions
in the various /usr/include/pthread/mit/*
#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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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. :)