[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 5/5] quartzdrv: Implement MsgWaitForMultipleObjectsEx
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2006-10-31 11:32:09
Message-ID: 87lkmw7mbq.fsf () wine ! dyndns ! org
[Download RAW message or body]

Pierre d'Herbemont <pdherbemont@free.fr> writes:

> 2) Launch a 'carbon' thread which will run the carbon run loop (which
> does not poll), and writes to a fd as soon as it receive events.
>
> I think 2) may be preferred but to have a separate thread that watch
> event and an other that act on the UI tends to be tricky.

In any case you need to support multiple threads acting on the UI, so
that shouldn't be much of an issue. Note that the event thread should
be posting messages, not writing to an fd. It probably means that the
design of many bits of the user code need to be different from x11drv,
which is why I think it's important to get this right before writing
tons of code.

-- 
Alexandre Julliard
julliard@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic