Re: [AD] multithreaded callbacks

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



On Sat, 14 Jul 2001, Henrik Stokseth wrote:

> On Saturday 14 July 2001 14:45, you wrote:
>
> > 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.
>
> Posix Threads are sloooow, especially compared to native Linux threads, i
> expect that's true for native windows as well. so IMHO it's better to make
> wrappers for whatever threads the OS has to offer. So basically I am against
> using PThreads. I agree that reinventing the wheel is stupid though... so if
> we can find a finished GPL or Public Domain multiplatform thread system we
> should assimilate it. :)

The most common POSIX Threads implementation for Linux (LinuxThreads
included in glibc2) is just wrapper for clone syscall. Why do you think
it's slow?

Have a nice day.

Stepan Roh



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