[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [or-cvs] Add rudimentary pthread support that needs more testing.
- To: or-dev@xxxxxxxxxxxxx
- Subject: Re: [or-cvs] Add rudimentary pthread support that needs more testing.
- From: Ben Laurie <ben@xxxxxxxxxxxxx>
- Date: Fri, 28 Jan 2005 05:37:21 +0000
- Cc: or-cvs@xxxxxxxxxxxxx
- Delivered-to: archiver@seul.org
- Delivered-to: or-dev-outgoing@seul.org
- Delivered-to: or-dev@seul.org
- Delivery-date: Fri, 28 Jan 2005 00:37:51 -0500
- In-reply-to: <20050127223450.2F5D134135@moria.seul.org>
- References: <20050127223450.2F5D134135@moria.seul.org>
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-dev@xxxxxxxxxxxxx
- User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
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