------- Comment #6 from aph at gcc dot gnu dot org 2005-11-09 18:22 ------- Two things:
Does this work for fds that aren't associated with sockets? It doesn't quite avoid the need for locking, since we still need to make sure that we only close an fd once. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15430