public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: <sten.kristian.ivarsson@gmail.com>
To: <cygwin@cygwin.com>
Subject: Sv: unlink does not remove named pipe
Date: Fri, 17 Apr 2020 13:52:49 +0200	[thread overview]
Message-ID: <000101d614ae$b858a310$2909e930$@gmail.com> (raw)
In-Reply-To: <122833962.20200417140958@yandex.ru>

> 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...



  reply	other threads:[~2020-04-17 11:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-17  8:26 sten.kristian.ivarsson
2020-04-17 11:09 ` Andrey Repin
2020-04-17 11:52   ` sten.kristian.ivarsson [this message]
2020-04-17 11:46 ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000101d614ae$b858a310$2909e930$@gmail.com' \
    --to=sten.kristian.ivarsson@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).