X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CDA81385DC0B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1587124375; bh=Eobjiw0Sk3/yhcz/+g2v6taSCGlIsu5sC4kpwU1Wbgg=; h=To:References:In-Reply-To:Subject:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=f5lLRyqCNI7VyNG0rce4dVT8Hk6oIt8b97mAflFn2RqinmBKHVG9anL4sKYkIUL1k Dri/SZlc5nTAB1BTDBc+zklG9VfQT2AAxpyPs89GcNtB6RVzQPaUZD2aEwRNMaQ7fF Dv/lK7UxSiwEKNHpLL+LvNYL3o5lkG+LwtGjcB5o= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C4956385C426 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) To: References: <00aa01d61491$d4f1d400$7ed57c00$@gmail.com> <122833962 DOT 20200417140958 AT yandex DOT 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 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Kristian Ivarsson via Cygwin Reply-To: sten DOT kristian DOT ivarsson AT gmail DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. 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... -- 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