in reply to Re^3: Fork and creating a thread exits the process
in thread Fork and creating a thread exits the process
Yes, it didn't fork at all. I tried a test script and both, the fork and threads worked. In my program, it was the first fork that failed. I couldn't even print the return value and it doesn't print any error messages on exit.
I tested now with Strawberry 64bit and I wasn't able to get it work. But I tried again starting with a fresh 32bit version at that still does work.
Yes, I read about perlfork.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Fork and creating a thread exits the process
by pryrt (Abbot) on Jul 31, 2020 at 13:36 UTC | |
by fluks (Novice) on Jul 31, 2020 at 13:59 UTC | |
by pryrt (Abbot) on Jul 31, 2020 at 14:56 UTC | |
by fluks (Novice) on Aug 01, 2020 at 10:37 UTC | |
by pryrt (Abbot) on Aug 01, 2020 at 14:02 UTC | |
|
Re^5: Fork and creating a thread exits the process
by bliako (Abbot) on Jul 31, 2020 at 13:29 UTC | |
by fluks (Novice) on Jul 31, 2020 at 13:46 UTC |