
March 8th, 2003, 09:55 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
|
Unfortunately, a thread inherits the parent processes file descriptors as a shared resource, instead of its own copy of it. So closing it will affect all the threads. It's probably a lot easier using write(tty_fd,...);
|