in reply to Re: Perl jumps to END logic after fileno (Win32)
in thread Perl jumps to END logic after fileno (Win32)
Alright, so in looking deeper at the warnings I am receiving it seems as though windows is likely reusing the OS level filehandle I am pulling out from under the Perl handle via my hardclose logic.
Then when perl implicitly closes the Perl handle it is closing whatever ended up reusing that OS handle causing unspecified behavior.
So perhaps to avoid this I should ask for assistance in accomplishing my goal.
I want to spawn a thread then close a handle that was open in the main thread prior to the creation of the thread. In experimenting with this I was not able to have the process actually release the OS file handle. I don't remember the details, but I was not able to call close from both the main thread and "child" thread.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl jumps to END logic after fileno (Win32)
by Anonymous Monk on Aug 09, 2017 at 23:49 UTC | |
by dchidelf (Novice) on Aug 10, 2017 at 18:41 UTC | |
by Anonymous Monk on Aug 10, 2017 at 23:33 UTC |