Re: [AD] public thread API

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


On Wed, 2008-08-06 at 11:04 +1000, Peter Wang wrote:
> 
> As in, al_create_thread, al_lock_mutex, al_broadcast_cond.  Which looks
> fine actually.  We should do it for consistency.
> 

Oh, something else:

int al_cond_timedwait(ALLEGRO_COND *cond, ALLEGRO_MUTEX *mutex,
                      const ALLEGRO_COND_TIMEOUT timeout);

What about using "double timeout", and specifying it in seconds?

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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