This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with pthread - EBUSY


Hi,

I'm trying to compile some code(with pthread.h included) where I test a
trylock return against the variable EBUSY. Although, when compiling with

-c -g -ansi -Wall -pedantic

I get the following error,

error: âEBUSYâ undeclared (first use in this function)

(gcc -dumpversion = 4.3.3 @ ubuntu jaunty - 2.6.28-11-generic)
-- 
View this message in context: http://www.nabble.com/Problem-with-pthread---EBUSY-tp22871393p22871393.html
Sent from the gcc - Help mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]