lkml.org 
[lkml]   [1997]   [Oct]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 30 Oct 1997 11:35:08 -0700 (MST)
Fromteunis <>
SubjectRe: Unix domain sockets being slooooooooooooooooooooooooowwwwwwwww
> > 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


\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2008