Re: Unix domain sockets being slooooooooooooooooooooooooowwwwwwwww

teunis (teunis@mauve.computersupportcentre.com)
Thu, 30 Oct 1997 11:35:08 -0700 (MST)


> > with low contention cases use spinlocks, shared memory and signals. The
> > locks are arch specific, but thats easily localised
>
> Signals are _very_ slow way of notifying the other one that he has
> some data. And shared memory does not allow me to do safe messaging
> between different users. Too bad.

personally (in userspace) I use spinlocks (SMP ones :) and shared memory
(and volatile variables when necessary) to handle memory locking in
multiple threads... should work for SysV-shared memory too :)

Any comments? Suggestions? (Flames? *grin*)
- Teunis