Subject: Re: threading lib [was: Re: CVS commit: pkgsrc]
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Nick Hudson <skrll@netbsd.org>
List: tech-pkg
Date: 03/25/2001 09:11:56
Hubert Feyrer wrote:
> 
> On Sat, 24 Mar 2001, Nick Hudson wrote:
> > Modified Files:
> >       pkgsrc/net/kdenetwork2: Makefile
> >       pkgsrc/net/kdenetwork2/files: patch-sum
> > Added Files:
> >       pkgsrc/net/kdenetwork2/patches: patch-ab patch-ac
> >
> > Log Message:
> > Use PTL2 as the pthreads library so that knode actually does something.
> 
> Is there a special reason why to use ptl2 over - say - unproven-pthreads?
> 
> IIRC it was once agreed on that unproven-pthreads was what's closest to
> thead thread package that we'll get into NetBSD one day, and for that
> using it in pkgsrc now will cause the least headaches for native threads
> when we have them.

Yeah, PTL2 have a pthread_setcanceltype function that knode uses.
unproven-pthreads is missing lots of things ATM. I hope to have a look
at this one day... maybe.

Nick
-- 
aka skrll@netbsd.org, skrll@excite.co.uk