cdc2c30e99
semaphore locks have much higher overhead than initially presented in the "Semaphores in Plan9" paper. until the reason for it has been found out i will revert the changes.
8 lines
71 B
C
8 lines
71 B
C
#include <u.h>
|
|
#include <libc.h>
|
|
|
|
void cycles(uvlong*u)
|
|
{
|
|
*u = 0LL;
|
|
}
|