[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] rt_ipc semaphore delete (race) bug + FIX
On Tue, Dec 05, 2000 at 05:19:36PM +0100, Hans de Goede wrote:
> HI all,
>
> Try the following:
>
> -create a semaphore
> -create a task
> -let the task wait on the semaphore, no timeout
> -delete the task
> -delete the semaphore -> oops
>
> The problem:
>
> rt_task_ipc_deletes unlinks the task from the semaphores wait list, but
> doesn't up the value of the semaphor
Recommended to use the POSIX semaphores in RTL instead of ipc.