Re: use mutex instead of semaphore in RocketPort driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arjan van de Ven
Date: Tuesday, May 22, 2007 - 9:59 am

>  

this code is very very buggy.

mutex_lock_interruptible() may not get the mutex in case a signal
happens... and yet you unlox the mutex unconditionally!!!


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: use mutex instead of semaphore in RocketPort driver, Arjan van de Ven, (Tue May 22, 9:59 am)
Re: use mutex instead of semaphore in RocketPort driver, Matthias Kaehlcke, (Tue May 22, 1:06 pm)
Re: use mutex instead of semaphore in RocketPort driver, Simon Arlott, (Tue May 22, 2:04 pm)