From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id C4956385C426 for ; Fri, 17 Apr 2020 11:52:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C4956385C426 Received: by mail-lf1-x134.google.com with SMTP id r17so1573349lff.2 for ; Fri, 17 Apr 2020 04:52:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=2Kcq4JgwxWHGSvwSxLr1PlLcn2J49eM30Nw+NJB9GJU=; b=R1nuAkDrmNjGHHOU1fZ+BormnuCaKTPC7zigDz/m7ZcalIFznGCkycXHzIiK7nS40B UWKiXRDixAzhT6Vd/2KMAybJw7u9jcCev3G46lZBf7BAItYJdmxT7nr19ap6nS0ABL/c oTDr+fixb0D/G+0khYMAmZeqX1AZl+0D+txg9bRrS+3JJSwv7GXcuEFEJ3EtCMeU3LOK coUjH64aKBss0nL+Q7+FPCXNwpIUs+XK4tq8v62C4vX32KodNEudNwHWbcwTqxnT3z0a WfFoHxDHwizh3rVzyTrdqCRu4xn2Dhq+M+VaL93VDT0eI9SpFiwVMZR2UUEYMg2+lJwA Rpvw== X-Gm-Message-State: AGi0PubDqB9kiew5iIiTPegNLLcxTE7xCu6+B9c9i4KSsybMhKiFT0f8 6c8MQ2vXzE8PbHpX8njFyKRSNmJs X-Google-Smtp-Source: APiQypI1Vn4Q+TeveqwoDOxfDlE7BiJd2sDt/t4U7DxkPfNUAHrhtZwrNAPtdnIDy88s0nuHVpbx3A== X-Received: by 2002:ac2:5e26:: with SMTP id o6mr1784043lfg.49.1587124371258; Fri, 17 Apr 2020 04:52:51 -0700 (PDT) Received: from JOKK (87-249-164-127.ljusnet.se. [87.249.164.127]) by smtp.gmail.com with ESMTPSA id c2sm18578109lfb.43.2020.04.17.04.52.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Apr 2020 04:52:50 -0700 (PDT) From: To: References: <00aa01d61491$d4f1d400$7ed57c00$@gmail.com> <122833962.20200417140958@yandex.ru> In-Reply-To: <122833962.20200417140958@yandex.ru> Subject: Sv: unlink does not remove named pipe Date: Fri, 17 Apr 2020 13:52:49 +0200 Message-ID: <000101d614ae$b858a310$2909e930$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQM45hw+8GZLE4L8ecHJNMPYZhn79QG+7WmlpamYXmA= Content-Language: en-gb X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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@cygwin.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: , X-List-Received-Date: Fri, 17 Apr 2020 11:52:54 -0000 > 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. I guess you're right Andrey and it was just merely a delay in Windows, because the link/file-counter seem to be 0 and it was just an observable defect but not an practical defect (once I tested it in other ways, i.e. fopen etc didn't act as it existed) I'll come back if I encounter any practical/programatic problems with it I'm sorry for not testing it properly before I did this "report" Kristian > -- > With best regards, > Andrey Repin > Friday, April 17, 2020 14:08:48 > > Sorry for my terrible english...