01-23-04 10:36 PM
In article <yw1xwu7now5w.fsf@ford.guide>, mru@kth.se (Måns Rullgård)
wrote:
quote:
> Barry Margolin <barmar@alum.mit.edu> writes:
>
>
> That's not exactly equivalent. dup2() is atomic, i.e. there is no
> instant where the target fd is invalid.
OK. If the process is multi-threaded, it needs to disable thread
switching first.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
[ Post a follow-up to this message ]
|