Re: [AD] [GUI] Error using MSG_IDLE |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
And why doesnt then allegro use a all-in-one thread
i mean smthing like
if (mouse_installed)
do mouse_stuff
if (keyboard_installed)
do keyboard_sutff
etc etc
it's all synchronized if it only uses one thread, isnt it?
is that possible instead of one for the mouse, one for the keyboard, etc
etc?
of course, user timers, must be different threads :)
----- Original Message -----
From: "Eric Botcazou" <ebotcazou@xxxxxxxxxx>
To: "Allegro Conductors" <conductors@xxxxxxxxxx>
Sent: Monday, January 29, 2001 3:58 PM
Subject: Re: [AD] [GUI] Error using MSG_IDLE
> > and 2nd: this only happens in windows (DIRECTX and DIRECTX_WIN at least)
>
> Threads. It's a "deadlock" bug due to bad synchronisation between the
> threads. Probably introduced by my patch fixing another thread-related
bug.
> Same thing for the Win2k bug.
> Allegro is heavily multi-threaded (the simple test program uses no less
than
> 8 threads !!!) and I think there's no proper synchronisation mechanism in
> the code.
>
> --
> Eric Botcazou
> ebotcazou@xxxxxxxxxx
>
>
>