Re: Displaying html help file



>When you fork from within a thread (ie, there are x number of other threads
>running in you process), do you 1 or x + 1 threads running in the new
>process?

POSIX threads support only a "fork-one" model, so the new process
contains a single thread.

There are other thread implementations that support fork-many, but
typically provide a different system call to accomplish the two
different operations (e.g fork1() and fork()).

--p




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]