pthread_mutex_timedlock with time in past
Joel Sherrill
joel.sherrill at OARcorp.com
Sat Aug 28 14:24:29 UTC 2010
Hi,
I was reviewing this code and wanted to
make sure that ...
+ lock is busy (e.g. unavailable)
+ absolute time is in the past
We should return ETIMEDOUT not EBUSY.
The OpenGroup page is this but I am missing
the exact phrase which tells us what to do.
http://www.opengroup.org/onlinepubs/009695399/functions/pthread_mutex_timedlock.html
Insight appreciated.
--joel
More information about the users
mailing list