Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 1995 15:40:27 EDT
From:      Christopher Provenzano  <proven@MIT.EDU>
To:        Richard Toren <rpt@miles.sso.loral.com>
Cc:        hackers@freebsd.org, proven@MIT.EDU
Subject:   Re: A quick vote on pthreads PLZ 
Message-ID:  <9510261940.AA07699@jimi.MIT.EDU>
In-Reply-To: Your message of "Sat, 21 Oct 1995 21:32:39 EDT." <Pine.SUN.3.91.951021211737.25662B-100000@miles> 

next in thread | previous in thread | raw e-mail | index | archive | help

>  Has the FPU save/restore been fixed in pthreads recently?

Yes.
> 
>  With the locking in the libraries, what will the gratutious mutex locking
>  cost in time if the app is not threaded?

For the most part it shouldn't be noticable. (There are a few exceptions namely
getc()/putc()) In general mutexes are cheap, debugging race conditions isn't.

> 
> Just some food for thought. I have used pthreads since this summer to 
> practice threaded code analysis and construction, but I knew it was just 
> a package, and had limitations. If it is advertised as being part of the 
> OS, (and possibly POSIX) wil lit mislead people?

I hope not, but to be safe a non threaded one should be provided. It will
take time to hammer out the bugs such that the threaded one will be as reliable
as the non threaded one.

CAP



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9510261940.AA07699>