Re: multithreaded callbacks (was Re: [AD] de fourium pointium ohium) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Allegro conductors" <conductors@xxxxxxxxxx>
- Subject: Re: multithreaded callbacks (was Re: [AD] de fourium pointium ohium)
- From: "Eric Botcazou" <ebotcazou@xxxxxxxxxx>
- Date: Fri, 3 Aug 2001 10:48:04 +0200
> Doing nothing is obviously the easy way out, for now, but I
> don't think we should rule out adding the simple mutexing API
> before Allegro 4.0; it's hardly a new feature, and it's so
> simple I doubt we could put any bugs in it. ;)
Should we use the pairs create_mutex()/destroy_mutex() and
acquire_mutex()/release_mutex() or something more neutral ?
(The Windows port won't likely use Win32 mutexes but a more lightweight
inner-process mechanism dubbed "critical sections"). Moreover there is the
namespace factor.
-Eric