Re: multithreaded callbacks (was Re: [AD] de fourium pointium ohium)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 14 Jul 2001, George Foot <gfoot@xxxxxxxxxx> wrote:
> On Fri, Jul 13, 2001 at 03:14:48PM +1000, Peter Wang wrote:
> > (0) pause the main thread when timer (etc.) callbacks are running
> ...
> > (0) is good because it means _all_ old DOS code ported to non-DOS
> > platforms will still be correct.  Otherwise it's not very nice, and
> > has problems associated with it.
> 
> Is it even possible in pthreads?

I can't find anything, so I guess not.  That's one of the problems :-)

> > (1 a) is my preference.  
...
> My feelings against this were mostly: why should we implement
> yet another thread wrapper API?  It would be nice to just use
> pthreads.  I guess it's unreasonable to expect people to have it
> in Windows though.

Nor in BeOS, IIRC.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/