----------  Forwarded Message  ----------
Return-Path: <[EMAIL PROTECTED]>
Received: from fencepost.gnu.org ([199.232.76.164]) by mailin07.sul.t-online.de
        with esmtp id 156tMn-0L7jwea; Mon, 4 Jun 2001 14:21:53 +0200
Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 156tJ5-0007GV-00; Mon, 04 Jun 2001 08:18:03 -0400
Received: from mailout03.sul.t-online.com ([194.25.134.81] 
helo=mailout03.sul.t-online.de)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 156tHJ-0007FH-00
        for <[EMAIL PROTECTED]>; Mon, 04 Jun 2001 08:16:13 -0400
Received: from fwd05.sul.t-online.de 
        by mailout03.sul.t-online.de with smtp 
        id 156tHI-0006Dj-0I; Mon, 04 Jun 2001 14:16:12 +0200
Received: from odin (320068295437-0001@[217.81.139.166]) by fwd05.sul.t-online.com
        with smtp id 156tHF-28re7MC; Mon, 4 Jun 2001 14:16:09 +0200
Content-Type: text/plain;
  charset="iso-8859-1"
From: [EMAIL PROTECTED] (Anselm Garbe)
To: [EMAIL PROTECTED]
Subject: Fwd: Re: named ports <-> trivfs translator!
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01060414191100.00328@odin>
Content-Transfer-Encoding: 8bit
X-Sender: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-hurd>,
        <mailto:[EMAIL PROTECTED]?subject=subscribe>
List-Id: Users list for the GNU Hurd <help-hurd.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-hurd>,
        <mailto:[EMAIL PROTECTED]?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-hurd/>
Date: Mon, 4 Jun 2001 14:19:11 +0200

UNSUBSCRIBE

----------  Forwarded Message  ----------
Return-Path: <[EMAIL PROTECTED]>
Received: from fencepost.gnu.org ([199.232.76.164]) by 
mailin02.sul.t-online.de
        with esmtp id 156id6-1NdMIqa; Mon, 4 Jun 2001 02:54:00 +0200
Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 156iUW-0005K0-00; Sun, 03 Jun 2001 20:45:08 -0400
Received: from mail2.netinsight.se ([212.209.170.195] 
helo=ernst.netinsight.se)
        by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
        id 156iT3-0005HJ-00
        for <[EMAIL PROTECTED]>; Sun, 03 Jun 2001 20:43:37 -0400
Received: from netinsight.se (unverified [10.100.1.28]) by ernst.netinsight.se
 (EMWAC SMTPRS 0.83) with SMTP id <[EMAIL PROTECTED]>;
 Mon, 04 Jun 2001 02:43:31 +0200
Message-ID: <[EMAIL PROTECTED]>
From: Johan Rydberg <[EMAIL PROTECTED]>
Organization: Net Insight AB
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: zh-TW, zh-CN, sv, en
MIME-Version: 1.0
To: Marcus Brinkmann <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: named ports <-> trivfs translator!
References: <[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]>
Content-Type: text/plain;
  charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-hurd>,
        <mailto:[EMAIL PROTECTED]?subject=subscribe>
List-Id: Users list for the GNU Hurd <help-hurd.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-hurd>,
        <mailto:[EMAIL PROTECTED]?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-hurd/>
Date: Mon, 04 Jun 2001 02:44:22 +0200
Status: R 
X-Status: N

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

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

-------------------------------------------------------

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

UNSUBSCRIBE

----------  Forwarded Message  ----------
Return-Path: <[EMAIL PROTECTED]>
Received: from fencepost.gnu.org ([199.232.76.164]) by
mailin02.sul.t-online.de
        with esmtp id 156id6-1NdMIqa; Mon, 4 Jun 2001 02:54:00 +0200
Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org)
        by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
        id 156iUW-0005K0-00; Sun, 03 Jun 2001 20:45:08 -0400
Received: from mail2.netinsight.se ([212.209.170.195]
helo=ernst.netinsight.se)
        by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
        id 156iT3-0005HJ-00
        for <[EMAIL PROTECTED]>; Sun, 03 Jun 2001 20:43:37 -0400
Received: from netinsight.se (unverified [10.100.1.28]) by
 ernst.netinsight.se (EMWAC SMTPRS 0.83) with SMTP id
 <[EMAIL PROTECTED]>; Mon, 04 Jun 2001 02:43:31 +0200
Message-ID: <[EMAIL PROTECTED]>
From: Johan Rydberg <[EMAIL PROTECTED]>
Organization: Net Insight AB
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
X-Accept-Language: zh-TW, zh-CN, sv, en
MIME-Version: 1.0
To: Marcus Brinkmann <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: named ports <-> trivfs translator!
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Content-Type: text/plain;
  charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.3
Precedence: bulk
List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
List-Post: <mailto:[EMAIL PROTECTED]>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-hurd>,
        <mailto:[EMAIL PROTECTED]?subject=subscribe>
List-Id: Users list for the GNU Hurd <help-hurd.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-hurd>,
        <mailto:[EMAIL PROTECTED]?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-hurd/>
Date: Mon, 04 Jun 2001 02:44:22 +0200
Status: R
X-Status: N

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

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

-------------------------------------------------------

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

-------------------------------------------------------

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

Reply via email to