Brett McCoy wrote:
> On Dec 22, 2007 1:37 PM, srinath <[EMAIL PROTECTED]> wrote:
> 
>>             I want to implemet threading concept in c. But the problem
>> is that i am using the powerpc-linux architecture and also the powerpc-
>> linux compiler. When searched over the net i found a header file
>> (pthread.h) which can be used. But i am not able to find the header
>> file in the linux and also for download. Could you please provide me
>> the header file. And also apart from this header file is there any way
>> to implement the threading concept in c or in C++.
> 
> On Linux, pthreads is your best option. You will need more than just
> the header, you also need the appropriate library. If you can't find
> it on your system, It's likely it's installable as a separate package
> on your Linux distribution. As far as I know, though, it usually comes
> installed as part of the standard gcc compiler on Linux. What version
> of gcc are you using?
> 
> -- Brett
> ------------------------------------------------------------
> "In the rhythm of music a secret is hidden;
>     If I were to divulge it, it would overturn the world."
>                -- Jelaleddin Rumi

http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html

Don't forget to include -lpthread on the command-line to include the 
library with the build.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to