atomic_fetchadd_int works on unsigned quantities - change

sigev_generation to be unsigned

MFC after:	1 month
This commit is contained in:
Kip Macy 2008-08-15 21:08:48 +00:00
parent e77d7f7143
commit 650fff26e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181778

View File

@ -51,7 +51,7 @@ LIST_HEAD(sigev_list_head, sigev_node);
static struct sigev_list_head sigev_hash[HASH_QUEUES];
static struct sigev_list_head sigev_all;
static LIST_HEAD(,sigev_thread) sigev_threads;
static int sigev_generation;
static unsigned int sigev_generation;
static pthread_mutex_t *sigev_list_mtx;
static pthread_once_t sigev_once = PTHREAD_ONCE_INIT;
static pthread_once_t sigev_once_default = PTHREAD_ONCE_INIT;