pthread mutex question

From: sankar
Date: Fri Oct 31 2003 - 19:49:20 EST


Hi,
I am looking for an idea as to how to implement timed mutex using pthread
libraries on linux.
Basically I want to associate a timeout value with the wait function i,e
pthread_mutex_lock() which returns once the timeout expires instaed of
waiting for ever.
Pls help

thx..

Sankarshana M
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/