Skip to contentSkip to conversation

Compilation issue with sched_yield().

DISCUSSION Ankur Prakash 1 participant 1 message Mar 3, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines

Hi,

I am using sched_yield() on a RedHat 9.0 system. I get

Quoted 9 lines

the following compilation error. Anyone has any
clues?
I am compiling with -lpthread.

Thanks,
Ankur

: undefined reference to `pthread_yield_np'

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com