niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Architecture
Reference-counting API
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Jan Grant
*nix forums beginner


Joined: 04 Apr 2002
Posts: 10

PostPosted: Thu Apr 04, 2002 7:39 am    Post subject: Reference-counting API Reply with quote

Lost the initial message, but as I recall the "consensus" was:
- reference managing calls for refcounts that need a lock
- do it by hand for structures that are protected by a mutex

Might I suggest* that an API for the second set of calls would still be
useful? They might be a bunch of trivial macros, but having explicit
refcounting "calls" are: easier to find; document the use better (it's a
refcount, but we hold a mutex on it already); easier to instrument if
required.

Cheers,
jan

* no, I don't have the patch

--
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
Usenet: The separation of content AND presentation - simultaneously.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 6:15 am | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Architecture
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Counting 'on' bits in a byte? John C 13 Tue Jul 18, 2006 9:47 pm
No new posts Null reference David White C++ 27 Tue Jul 18, 2006 5:17 am
No new posts FAQ 3.7 How do I cross-reference my Perl programs? PerlFAQ Server Perl 0 Sat Jul 15, 2006 7:03 am
No new posts Need some reference for Watch Dog Timer. rajee120 AIX 0 Fri Jul 14, 2006 3:45 pm
No new posts Should I buy the C reference manual or the standard ? spibou@gmail.com C 5 Wed Jul 12, 2006 5:02 pm

Debt Help | Bankruptcy | Myspace Comments | Discount Magazines | Bad Credit Mortgages
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1085s ][ Queries: 16 (0.0431s) ][ GZIP on - Debug on ]