libpthread patch

David Xu davidxu at freebsd.org
Thu Apr 17 23:07:45 PDT 2003


----- Original Message ----- 
From: "Juli Mallett" <jmallett at FreeBSD.org>
To: "David Xu" <davidxu at freebsd.org>
Cc: "Daniel Eischen" <eischen at pcnet1.pcnet.com>; <freebsd-threads at freebsd.org>
Sent: Friday, April 18, 2003 2:04 PM
Subject: Re: libpthread patch


> * De: David Xu <davidxu at freebsd.org> [ Data: 2003-04-18 ]
> [ Subjecte: Re: libpthread patch ]
> > > There are a few issues we've got to go over, as well as
> > > looking closely at any locking order problems.
> > > 
> > I have ever tried to port some kernel code to userland (e.g
> > mutex and witness), but now they were left there for
> > several days without be touched.
> 
> This seems like overkill, in fact, it is by definition.  If you
> want some primitive private-locks-only mutex tracing/auditing,
> I've done a bit of that and could give you some hints.  Using the
> casuptr facility introduced by thr may be a good idea, no?  It
> is known to work, and is relatively un-complex?  Or am I missing
> something?

I want to use code to detect LOR not just human eyes, I can accept
any reasonable method.

> -- 
> juli mallett. email: jmallett at freebsd.org; aim: bsdflata; efnet: juli;




More information about the freebsd-threads mailing list