dce/rpc "client" api

Luke Kenneth Casson Leighton lkcl at samba.org
Thu Aug 24 04:38:28 GMT 2000


> In Linux, on the other hand, instead of 10x it's more like 1.5x or so.
> (Not that threads are *less* efficient -- mostly that fork() is *more*
> efficient.)  Thus the cost argument for threads doesn't hold up so
> much.  (But there can still be other reasons!)

linux processes are a specialisation of threads (or something to that
effect).

the same underlying function is used by both create_thread() and fork(),
and this function is told which of the kernel-bits to copy, and which to
share.  using a bit-mask :) :)

solaris' fork() function presumably copies _everything_, which is kinda
majorly expensive.





More information about the samba-technical mailing list