Re: [AD] Proposal for an input model

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


> Right. If somebody is going to use threads to implement asynchronous
> callbacks, then they need some way to properly block when there is no
> input available.

Exactly.

> So how about we provide blocking versions of the keypress functions?

This would mean that we effectively drop the DOS support: asynchronous input
requires callbacks under DOS.

> This way, coders will need to create their own thread, but once that is
> done, everything is nice and simple.

I only hope every user knows what is behind the 'once that is done', and
especially how to do it in a portable way...

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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