Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Fork and creating a thread exits the process

by Corion (Patriarch)
on Jul 31, 2020 at 12:53 UTC ( [id://11120130]=note: print w/replies, xml ) Need Help??


in reply to Fork and creating a thread exits the process

My advice is to not mix fork and threads. Use one or the other.

Especially on Windows, where fork is emulated by threads, mixing the two gives even weirder results.

  • Comment on Re: Fork and creating a thread exits the process

Replies are listed 'Best First'.
Re^2: Fork and creating a thread exits the process
by fluks (Novice) on Jul 31, 2020 at 13:13 UTC

    Sorry if my post was unclear, but I didn't mix fork and threads in my program. I just tried both versions.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11120130]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-19 20:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found