[or-cvs] Add rudimentary pthread support that needs more testing.
nickm at freehaven.net
Fri Jan 28 05:40:39 UTC 2005
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 652 bytes
Desc: not available
More information about the tor-dev