Marcus Brinkmann wrote:

> The canonical way to do it on the Hurd is to attach the server to some node
> in the filesystem, that means, you write a translator which you attach with
> settrans, or you write a program that installs itself as a translator
> somewhere. libtrivfs helps a lot for that.  (For the latter, see how pfinet
> installs the tunnel "device" in pfinet/tunnel.c (setup_tunnel_device).

I went with the latter and it seems to work.  Thanks.  Next question:

Take a look at the following scenario:

  1. allocate object
  2. client does something with object
  3. deallocate object

I have created a port class with a custom clean routine.  I want the clean
routine to be called if the object are NOT deallocated in step 3 (for example, 
the client dies).  Is this possible - or do I have hold an internal state for
every port?

regards,
johan


-- 
Johan Rydberg, Net Insight AB, Sweden, +46-8-685 04 00

$ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") -
             THEN EXCUSE/OBJECT=ME

_______________________________________________
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-hurd

Reply via email to