X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 585FC385DC04 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1587122402; bh=4iXL+nJRWXhyW2co3/vYCYf964Gulr+qSOj34h1SONM=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=bKrJDI+iMzlD51+fTaaApFnqA4Dmm3lYTbIBt4yBmQxA8f+OasE09AnN6FfF959tW TrCWeI7YQPekfbfq7g8p9doK6Au+2pRHgZ7DZDUY2v6/hT3RK9oK/ti0J9HMwvkNDc VMbpYD9yN19NHuM3sIu0Q5CxQKNxFcgUs2LkvjRs= Authentication-Results: mxback3q.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Fri, 17 Apr 2020 14:09:58 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <122833962.20200417140958@yandex.ru> To: Kristian Ivarsson via Cygwin , cygwin AT cygwin DOT com Subject: Re: unlink does not remove named pipe In-Reply-To: <00aa01d61491$d4f1d400$7ed57c00$@gmail.com> References: <00aa01d61491$d4f1d400$7ed57c00$@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Greetings, Kristian Ivarsson via Cygwin! > If you're creating a lot's of named pipes in main process and in children > and then using unlink, some of the named pipe files are not removed from the > file system and no error is issued, i.e. unlink doesn't return -1 Open file will not be immediately removed on Windows. However, if the file was deleted successfully, consequent attempts at opening it will fail. -- With best regards, Andrey Repin Friday, April 17, 2020 14:08:48 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple