Re: [AD] public thread API |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] public thread API
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Wed, 06 Aug 2008 18:56:57 +0200
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>