Add (and use) generic reference counter, to improve signal:noise ratio

in code defining reference-counted objects.
This commit is contained in:
Michael Brown
2007-04-29 23:53:39 +00:00
parent 36bfb6edbb
commit d40761d725
8 changed files with 128 additions and 58 deletions

View File

@@ -71,7 +71,7 @@ struct job_interface_operations null_job_ops = {
struct job_interface null_job = {
.intf = {
.dest = &null_job.intf,
.refcnt = null_refcnt,
.refcnt = NULL,
},
.op = &null_job_ops,
};