[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [or-cvs] Add rudimentary pthread support that needs more testing.



On Fri, Jan 28, 2005 at 05:37:21AM +0000, Ben Laurie wrote:
> Nick Mathewson wrote:
> >Update of /home/or/cvsroot/tor/src/common
> >In directory moria.mit.edu:/tmp/cvs-serv32238/src/common
> >
> >Modified Files:
> >	compat.c compat.h 
> >Log Message:
> >Add rudimentary pthread support that needs more testing.
> 
> You have two things - HAVE_PTHREAD_H and USE_PTHREADS - does this 
> indicate that use of pthreads is optional (I ask since under FreeBSD 
> pthreads are very flaky and generally to be avoided)?

Good to note.  Is there another threading lib that works on FreeBSD,
or is this a Don't Do That Then issue?

It could be made optional pretty easy.

> If not, I strongly advise that you should make them so.
> 
> BTW, why do threads at all?

http://bugs.noreply.org/74

-- 
Nick Mathewson

Attachment: pgpdwQWjkFAks.pgp
Description: PGP signature