in reply to Re: Semaphore puzzle
in thread Semaphore puzzle
Thanks for the suggestion. I have already tried an exclusive creation (IPC_CREAT | IPC_EXCL) which I understand is what you're suggesting. I hit the same issue...the files arrive too closely together that neither create process detects that the semaphore has already been created so they both create successfully!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Semaphore puzzle
by jeffenstein (Hermit) on Feb 23, 2021 at 10:35 UTC | |
by jerryhone (Sexton) on Feb 23, 2021 at 17:16 UTC |
In Section
Seekers of Perl Wisdom