Jim Helman (jimh++at++surreal)
Wed, 13 Sep 95 21:57:57 -0700
But there is a very significant speed difference between the IRIX
semaphores and locks (usinit(), ussetlock(), uspsema(), ...) and the
System V IPC semget()/semop(). The former are highly tuned and really
try to avoid a trip into the kernel, which takes a relatively long
time. But from a quick look at libc, it looks to me as though every
semop() call drops into the kernel, which can be deadly if you are
trying to synchronize frequently or at a fine grain.
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:53 PDT