pthread_mutex_trylock behaviour

Peter Naulls peter at chocky.org
Sat Jan 22 16:18:30 PST 2005



One for Alex:

Can you confirm that pthread_mutex_trylock should return EBUSY not
EDEADLK when the current thread already contains a lock on the mutex?
If so, I'll submit a patch.

I'm running through a test suite which happens to test a great deal of
low-level UL behaviour - some of this is pthread releated, some other
I/O stuff, and much of it presently fails.

-- 
Peter Naulls - peter at chocky.org        | http://www.chocky.org/
----------------------------------------------------------------------------
Drobe - http://www.drobe.co.uk/        | The Premier RISC OS News Site



More information about the gcc mailing list