Roland McGrath wrote:
This is a real questionable interface to add. "Number of send rights" is really not an appropriate notion for the Hurd protocol object abstraction. It doesn't even necessarily mean very much useful even in a Mach-based context. It may not be really accurate to say anything other than yes/no to "are there any references other than this one?"
Hi,
our reference is not a reference to the shared memory object, but to the filenode.
So we need three states: no senders, one, or many (the "one" is useful if we want to know
if we are the only mapper).
This is as much as we need to make users of nattach in SysV SHM happy.
We know it is a questionable interface, but it is exactly the one extra quirk
we need for compatibility. (And if you know a better way, share it!)
Marcus
-- Barry deFreese Debian 3.0r1 "Woody" GNU/Hurd Registered Linux "Newbie" #302256 - Hurd H4XX0r wannabe
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." Rich Cook.
_______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd