in reply to Just enough to be dangerous (on threads) indeed! :-)
in thread When is a while not a while?
> With threads the two can communicate directly > through an internal buffer (they share the same memory).You can do this with separate processes by using SysV IPC.
> With Unix you don't have to worry about how > you use data, but there is more overhead. With > threads you do have to be careful because > the threads can trample over each other, > but you can get better performance.And you gain (just about) all the benefits (and problems; plus a few new ones) of threads when you use SysV IPC.
Not coming down on tilly, just bringing up an alternative.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE (tilly) 2: Just enough to be dangerous (on threads) indeed! :-)
by tilly (Archbishop) on Aug 25, 2000 at 22:33 UTC | |
by lhoward (Vicar) on Aug 25, 2000 at 22:59 UTC |