Re: [AD] demo of new timer API (unix only)

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


Peter Wang wrote:
Chris, have a read of those two paragraphs again :-)

Anyway, we're not going to reimplement pthreads: (i) it's been done, most probably by much more competent people than any of us; and (ii) it's a hell of a lot of work to get exactly right.
Right. But this was/is my line of thinking.. pthreads is a 
cross-platform threading API. However, if you want to have a threading 
API with Allegro and not have programs worry about an external 
dependancy for it (in Windows, at least), then make a pthreads API 
around whatever threading API the system provides, if it isn't already 
pthreads. In this case yes, I think having programs need the 
Win32-pthreads dependancy is probably the best solution (which I'm fine 
with), but it doesn't satisfy the want of some people to have a common 
thread API with Allegro.
- Kitty Cat




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