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

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



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)?


If not, I strongly advise that you should make them so.

BTW, why do threads at all?

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html       http://www.thebunker.net/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff