On Wed, Sep 12, 2012 at 04:55:29PM +0200, Carmelo AMOROSO wrote:
> From: Filippo ARCIDIACONO
>
> Current implementation of I/O locking macros using futexes are not
> cancel safe, as if a thread is cancelled while doing IO operations,
> it does not release the lock on the IO stream. So following
>
5 PM
> To: uclibc@uclibc.org
> Cc: Filippo ARCIDIACONO; Carmelo Amoroso
> Subject: [PATCH] libc: make I/O locking cancel-safe with futexes
>
> From: Filippo ARCIDIACONO
>
> Current implementation of I/O locking macros using futexes are not
> cancel safe, as if a thread is ca
From: Filippo ARCIDIACONO
Current implementation of I/O locking macros using futexes are not
cancel safe, as if a thread is cancelled while doing IO operations,
it does not release the lock on the IO stream. So following
attempts to acquire the IO stream's lock would dead-lock.
In order to make i