Mail Archives: cygwin-developers/2002/07/15/06:05:15

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Message-ID: <006b01c22be7$15deadf0$1800a8c0@LAPTOP>
From: "Robert Collins" <robert DOT collins AT syncretize DOT net>
To: <cygwin-developers AT cygwin DOT com>
References: <Pine DOT LNX DOT 4 DOT 33 DOT 0207131534200 DOT 3194-100000 AT this> <20020715103127 DOT A6932 AT cygbert DOT vinschen DOT de>
Subject: Re: How about this for passing file descriptors?
Date: Mon, 15 Jul 2002 20:05:01 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

----- Original Message -----
From: "Corinna Vinschen" <vinschen AT redhat DOT com>
To: <cygwin-developers AT cygwin DOT com>
Sent: Monday, July 15, 2002 6:31 PM

...  Each of them needs some different
> strategy so I wonder if it makes sense to create a new virtual fhandler
> method to do the job.  Anyway, what I'm implementing is the following:

I think it does. Just off the cuff, we need a struct that has transfer
information -
struct transfer { void *buffer; int buflen; HANDLE *handles; int
handlecount;}; and a couple of virtual functions for the fd class -

transfer prep_transfer () const;
void complete_transfer (transfer const &);

Anyway, just my 2c.


- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019