Hello,
Can a FD (file desc.) from a pipe(...); call be shared between a thread?
/ Henrik
Hello,
Can a FD (file desc.) from a pipe(...); call be shared between a thread?
/ Henrik
I should think so... Threads share memory don't they?
Yes,
threads which work out on the same address space do share the memory.
In addition to that they share,
File/Socket descriptors
Signal handling
Current working directory
UID/GID