[Gtkradiant] Q3Map threading on Linux

ydnar gtkradiant@zerowing.idsoftware.com
Thu, 7 Feb 2002 13:33:55 -0800


Unforunately, the p in pthreads is POSIX and not Portable.

The implementation differences are minor enough to warrant a little more
work than a few #ifdefs here and there. For example, removal of the
stacksize attribute (unecessary on Linux because threads are just cloned
processes sharing heap space).

y

----- Original Message -----
From: "Timothee Besset" <ttimo@idsoftware.com>
To: <gtkradiant@zerowing.idsoftware.com>
Sent: Thursday, February 07, 2002 12:59 PM
Subject: Re: [Gtkradiant] Q3Map threading on Linux


> What's OSF pthreads?
> If it says 'pthreads', it should be actual pthreads API no?
>
> TTimo
>
> On Thu, 7 Feb 2002 11:29:42 -0800
> "ydnar" <ydnar@rasterproductions.com> wrote:
>
> > One of the Urban Terror fellows mentioned to me last night that q3map
wasn't
> > threading on Linux. Turns out he was right, there aren't any __linux__
> > related #ifdefs in common/threads.c.
> >
> > We attemped a trivial port last night from the OSF pthreads section, but
> > there were some non-trivial differences between OSF and Linux pthread
> > types/constants.
> >
> > Anyone care to address this?
> >
> > y
> >
> >
> > _______________________________________________
> > Gtkradiant mailing list
> > Gtkradiant@zerowing.idsoftware.com
> > http://zerowing.idsoftware.com/mailman/listinfo/gtkradiant
> >
>
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant@zerowing.idsoftware.com
> http://zerowing.idsoftware.com/mailman/listinfo/gtkradiant
>