[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: limiting the number of running slapd's



Previously David Wright wrote:
> Since thread support has sort of been welded onto Linux as an
> afterthought, a lot of tools don't really support the distinction
> between threads and processes.

This is getting off-topic, but that is not true. Linux simply does
not make a distinction between threads and processes: when you
create a new process with the clone systemcall you can specify what does
and does not share with its parent process. A fork is just a clone
which creates a new process which does not share anything with its
parent process. This is actually a very neat design and definitely
not something that has been `welded on', it is just somewhat differrent
then how most other operating systems do it.

Wichert.

-- 
  _________________________________________________________________
 /wichert@wiggy.net         This space intentionally left occupied \
| wichert@deephackmode.org            http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |