Attilio Fiandrotti schrieb:
> Denis Oliver Kropp wrote:
>> Attilio Fiandrotti schrieb:
>>
>>> Denis Oliver Kropp wrote:
>>>
>>>> Should be possible with minor effort. pthread_cancel() is evil anyways.
>>>>
>>>
>>> Dok, we would really really apreciate if you could provide us ASAP 
>>> the patch: we're now kind of running out of time as Etch release date 
>>> gets closer every day.
>>> I'll build an experimental ISO image with your patch and ask people 
>>> to test it to catch possible issues coming from the patch.
>>
>>
>> Working on it now.
>>
> 
> :)

Still looking for a way to interrupt a blocking read()
from outside (other thread) without using a signal.

Simply closing it wasn't helpful.

I also couldn't find anything if we'd be using select() or poll().

pthread_cancel() interrupts the read, but it also interrupts
too many other places... and is the one to be removed anyways.

Any idea apart from using a pipe with select() on the pipe and device?

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to