in reply to Re: Thread create hangs
in thread Thread create hangs
Threads generally can’t meaningfully share resources such as “the terminal,” because of course there is only one of them.
Twaddle! Forked processes share "the terminal" all the time. Every time you type a piped command those processes are sharing a common console.
With threads, you have the advantage that coordinating that shared access is trivial. Just a shame about the bug.
|
---|