[comp.sys.next] Speakers, Listeners, keeping around C-strings, send rights

stefan@lbl-csam.arpa (Stefan gottschalk) (11/14/89)

 The documentation on Listeners says that the 'privatePort:' method 
   doesn't register a port publically, and that "other tasks can only
   send messages to this Listener if they are explicitly sent send rights
   to a _listenPort_ in a message."  How do I do that?  I haven't seen
   any mention of how to provide send rights anywhere else in the Listener 
   or Speaker documentation, though I've seen send rights mentioned in many
   places.

 As an experiment, I tried msgwrap-ping a '.msg' file 
   containing the line
   
   "- giveSendRights: (Port_t_send) sendRights;"  

 This seemed to be what the man-page on msgwrap was suggesting.  But msgwrap 
   responded with 

   (1) Expecting a type identifier, found "Port_t_send"

 So how are those types used?

-stefan