[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: would a mutex_wait be useful?
On Nov 4, 2008, at 1:34 AM, Adam Hamsik wrote:
On Nov,Tuesday 4 2008, at 8:37 AM, Matt Thomas wrote:
I'd like to be able to do a mutex_enter(9) which could be
If interrupted, it would return the error why it was interrupted.
Maybe called int mutex_wait(kmutex_t *mtx, int ticks); and if
ticks == 0
becomes (mutex_tryenter(mtx) ? 0 : ETIMEOUT). If tick == -1, means
I would like to ask what is difference between mutex_wait and
before you can do cv_timedwait, you must have locked the mutex. What
if that mutex is locked for a long period and you want to abort the
Main Index |
Thread Index |