#include <sys/types.h> #include <sys/ksynch.h> #include <sys/ddi.h> bool_t ATOMIC_INT_DECR(atomic_int_t *counter);
bool_t ATOMIC_INT_DECR(atomic_int_t *counter);
``Atomic locks'' in HDK Technical Reference