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.
In reply to Re^2: Thread create hangs
by BrowserUk
in thread Thread create hangs
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |