|
|
|
|
|
|
| Author |
Message |
Jan Grant *nix forums beginner
Joined: 04 Apr 2002
Posts: 10
|
Posted: Thu Apr 04, 2002 7:39 am Post subject:
Reference-counting API
|
|
|
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 |
|
 |
|
|
The time now is Thu Jan 08, 2009 6:15 am | All times are GMT
|
|
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
|
|