Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 01:05:31 +0000
From:      John Birrell <jb@what-creek.com>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Shared library version bump?
Message-ID:  <20060509010531.GA81623@what-creek.com>
In-Reply-To: <Pine.GSO.4.64.0605082032430.11616@sea.ntplx.net>
References:  <Pine.GSO.4.64.0605081648270.11616@sea.ntplx.net> <445FB11C.1000309@samsco.org> <Pine.GSO.4.64.0605081700490.11616@sea.ntplx.net> <20060508.174813.89129442.imp@bsdimp.com> <Pine.GSO.4.64.0605081954550.11616@sea.ntplx.net> <20060509000928.GA81282@what-creek.com> <Pine.GSO.4.64.0605082032430.11616@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 08, 2006 at 08:37:18PM -0400, Daniel Eischen wrote:
> Are you sure you're not talking about mutex(9F) on Solaris ;-)

I don't have an installed version of Solaris. It hates all my
machines. Even the Dells. Heh. So I don't get to look at man pages.
Just the source.

> I can see mutex_held in Solaris 10 /lib/libthread.so.1, but I
> don't see any rwlock_held or rwlock_owned.

It'll be one of their internal interfaces. 

I did this:

<http://perforce.freebsd.org/fileDiffView.cgi?FSPC=//depot/projects/dtrace/src/include/pthread%5fnp.h,//depot/projects/dtrace/src/lib/libpthread/pthread.map,//depot/projects/dtrace/src/lib/libpthread/thread/thr%5fmutex.c,//depot/projects/dtrace/src/lib/libpthread/thread/thr%5frwlock.c&REV=2%202%202%202&ACT=edit%20edit%20edit%20edit&CH=95271>;

And then #defined their names/macros to ours.

I hope that link works.

--
John Birrell




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