in reply to Re: Fork and creating a thread exits the process
in thread Fork and creating a thread exits the process
No, I tried adding say 1 after fork() and threads->create() and it didn't print it.
But now with Strawberry 32bit version it seems to work, this is bizarre. All I did differently is I installed WWW::Mechanize, which I use, with cpan. And it came with Strawberry built-in. At least perl -MWWW::Mechanize "print 1" printed 1. I don't understand at all what's happening. Things don't seem to work consistently at all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Fork and creating a thread exits the process
by bliako (Abbot) on Jul 31, 2020 at 12:22 UTC | |
by fluks (Novice) on Jul 31, 2020 at 13:11 UTC | |
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 bliako (Abbot) on Jul 31, 2020 at 13:29 UTC | |
by fluks (Novice) on Jul 31, 2020 at 13:46 UTC |