Cool. Thanks

Anders
________________________________________
From: ext Niels Roest [ni...@directfb.org]
Sent: Thursday, January 28, 2010 11:26 AM
To: Bakken Anders (Nokia-D-Qt/RedwoodCity)
Cc: directfb-dev@directfb.org
Subject: Re: [directfb-dev] IDirectFBEventBuffer and thread safety

Hi Anders,

yes, this should be the case, it's designed to be.
Otherwise you've found a bug.

Greets
Niels

Anders Bakken wrote:
> Are all of IDirectFBEventBuffer's functions thread safe?
>
> E.g. is it safe to call window->AttachEventBuffer(window, buffer) when I
> have another thread simultaneously sitting and waiting in
> buffer->WaitForEvent(buffer) ?
>
> I assume buffer->WakeUp(buffer) is thread-safe since it would seem
> rather pointless otherwise.
>
> regards
>
>


--

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

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to