summaryrefslogtreecommitdiff
path: root/libmom/mom.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-25 21:28:53 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-25 21:28:53 +0000
commite55dcf16d03bd83a72efa23a1d68d3f3c796e6f0 (patch)
treee6d511be907992c7293c12b7e90c6b499b99fb20 /libmom/mom.h
parent39206adee22f8e58e43dbb2d52571a05897b4c3a (diff)
Doc fixes.
Diffstat (limited to 'libmom/mom.h')
-rw-r--r--libmom/mom.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/libmom/mom.h b/libmom/mom.h
index 3cfa5218..75d4b08d 100644
--- a/libmom/mom.h
+++ b/libmom/mom.h
@@ -40,8 +40,7 @@ struct mom_port_ref; /* layout defined in mom-kerndep.h */
/* Create a new port reference that refers to the same underlying channel
as OBJ. Fill *NEW with the new reference. NEW should be otherwise
- unused memory. The new reference will have a refcount of one (as if
- mom_add_ref had been called on it already). */
+ unused memory. */
error_t mom_copy_ref (struct mom_port_ref *new, struct mom_port_ref *obj);
/* Tell if two mom ports refer to the same underlying server RPC channel */
@@ -53,11 +52,11 @@ int mom_refs_identical (struct mom_port_ref *obj1, struct mom_port_ref *obj2);
mom_ports_identical) will always have the same hash key. */
int mom_hash_ref (struct mom_port_ref *obj);
-/* Destroy mom port reference OBJ. All existing references go away,
- and the underlying kernel object is deallocated. After this call,
- the memory in *OBJ may be used by the user for any purpose. It
- is an error to call this routine if any other thread might be calling
- any other mom port reference function on OBJ concurrently. */
+/* Destroy mom port reference OBJ and deallocate the underlying kernel
+ object. After this call, the memory in *OBJ may be used by the
+ user for any purpose. It is an error to call this routine if any
+ other thread might be calling any other mom port reference function
+ on OBJ concurrently. */
void mom_ref_destroy (struct mom_port_ref *obj);