Logo Search packages:      
Sourcecode: hammerhead version File versions  Download package

spinlock.h

// simple spin locks
//
// $Id: spinlock.h,v 1.1.1.1 2000/11/29 13:20:48 dredd Exp $
//
// $Source: /cvsroot/hammerhead/hammerhead/src/spinlock.h,v $
// $Revision: 1.1.1.1 $
// $Date: 2000/11/29 13:20:48 $
// $State: Exp $
//

// initialize the lock to unlocked.
void s_lock_init(int *);

// keep trying until you get the lock.
void s_lock(int *);

// unlock the lock.
void s_unlock(int *);

Generated by  Doxygen 1.6.0   Back to index