httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: Memory usage and freeing
Date Mon, 20 Jan 1997 20:59:17 GMT
There's a primative clone() which allows you to create another thread and
as parameters you say whether you want the thread to have the same memory
file descriptors, and so on...  fork() is essentially just clone() with
the right parameters. 

Dean

On Mon, 20 Jan 1997, Marc Slemko wrote:

> Then Linux's threads must suck?
> 
> On Mon, 20 Jan 1997 rasmus@mail1.bellglobal.com wrote:
> 
> > > > Thread and process context switching under Linux is (or at least will
be)
> > > > equivalent.  There is no advantage of one over the other.
> > > 
> > > How?
> > 
> > Because the Linux kernel threads are built that way.  Internally there is
> > no difference between creating a process and a thread.
> > 
> > -Rasmus
> > 
> 
> 


Mime
View raw message