[Ilugc] Threads

  • From: creddy@xxxxxxxxxxxxxxx (Narsimha Reddy CH)
  • Date: Wed, 11 Dec 2002 11:29:38 +0530

Hi,

  Use the compiler flag -lpthread while compiling.

-Thanks,
Narsimha Reddy CH

Prakash N wrote:


Hi,

I am new to threads.. programming...

I am using pthread_create but am not able to compile them.

Its giving "undefined reference to pthread_create"

I have included "pthread.h"..

Pls do help me..Prakash

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

-- 
Narsimha Reddy CH
Storage Area Networking, HCL Technologies
Contact  +91-044 372 8366 ext 1128

http://san.hcltech.com
http://www.hcltech.com

Other related posts: