X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=wQQHcQU3h9nQxm9k
	qw/hXO3VVDIMGH6KspVx64bHn61FQQ7vJCWtKQ8JkF6/J243RTDNg548ed7dEWnM
	5hNBa7Qas0wMyI4KE+LeLUJL2e/wyTOd3+abUH5kgZ7boJFewmc6KHD8f9JqFE2c
	jtVcNp7ARq7A1qTS3vZNfe3rfks=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=5f+K+m/zVnhQEYFhXoTlWq
	oe8e4=; b=OPn8EZ9P+yi5Y+j1MTXGdRmihDD6MAVyD2yjxQE8YTJZndKt05Ta3K
	TtF3z2RWU1lokTR7YMlro0aesrHTr3OHROiVZ5deaZ4Pk53BlXjwO5U7izReX7RN
	sOZIy8/Ah1wUo1kscYrrvOghf2bW2z6V/bwbND/7zHU5/ZKbgGlYc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Jay, jay, H*f:sk:MWHPR18, H*i:sk:MWHPR18
X-HELO: mail-wm0-f51.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-language         :content-transfer-encoding;        bh=5XeCrLSVCrnUS6uZMf9rCQGlxTmLsiaOZgCf1ibUtI4=;        b=GmUk+C9TcW7N+f/r5iTt5S4o0SIBamLugBzzQoVdnuKyMQAFrIwLcnmaTkhQoHstp6         3GNJoAd3gD1/HNgMWp4VPDG0GoW6vUIqPEYI/v9iB1eTBFNcghvJm/k/VfYCxmdVZGyX         RqXVDaNa6NERS2C+XwJBKtnD/WkD1pg8dbWT8GTsBmbSbruAwkvhmtiaQh7I/gNgjWpS         R3aRH8+39pAt177GLSeCj06/J5lI4os5V50+i9w40gMgQ79IewlyPhxIPFptUfO8FGLZ         HUg2B83VFO1Y5AdCFiCgWb0UynyLhdMVsZI7N4IBCHhNqHy1fnRWN0PLA32Frl7J9XTA         gnwA==
X-Gm-Message-State: AKwxyteXyWDJeIZUgiiQiBE20WsQlAefT1lM1Ah57QNScNLHj3rlxBZZ	TaKHp5erA1eK5hILZJVq3fwry8tv
X-Google-Smtp-Source: AH8x227mX3rECH+b8CPoYGFH9RM7k/sWv5xjEl57jCZwjQVjDzPXNfcv04Jyy6k5fR73FOgwe8173w==
X-Received: by 10.80.146.81 with SMTP id j17mr8068485eda.205.1516532183095;        Sun, 21 Jan 2018 02:56:23 -0800 (PST)
Subject: Re: fast/native fork?
To: cygwin@cygwin.com
References: <MWHPR18MB1214E3A077433426273EFE00E6ED0@MWHPR18MB1214.namprd18.prod.outlook.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <fc431653-5dc5-0297-591f-4c476c2eda0e@gmail.com>
Date: Sun, 21 Jan 2018 18:56:16 +0800
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <MWHPR18MB1214E3A077433426273EFE00E6ED0@MWHPR18MB1214.namprd18.prod.outlook.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 21/01/2018 16:32, Jay K wrote:
> 
> I have some desire to discuss fork.
> I know it is an old and difficult topic.
> 
> 
> I found this:
> 
>   "Cygwin fork and RtlCloneUserProcess"
>   https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/afdf1b68-1f3e-47f5-94cf-51e397afe073/cygwin-fork-and-rtlcloneuserprocess?forum=windowsgeneraldevelopmentissues
> 
> 
> 
> NT has had fork since v1.
> The Posix subsystem used it.

If you look at the several Corinna's tentatives of having any info
on the Microsoft forum the problem is the lack of official documentation
of the details.

Without details no solution can be implemented that is guaranteed
to work on all existing and hopefully future version of Windows.

Cygwin can only use official external API and not hidden internal one.

Regards
Marco




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

