#include <stdio.h>
#include <pthread.h>
#include <signal.h>
-#include <assert.h>
#include <errno.h>
#include <poll.h>
#include <stdint.h>
#include <urcu/arch.h>
+#include <urcu/assert.h>
#include <urcu/futex.h>
#include <urcu/system.h>
* Check if NULL. Don't let users expect that they are taken into
* account.
*/
- assert(!timeout);
- assert(!uaddr2);
- assert(!val3);
+ urcu_posix_assert(!timeout);
+ urcu_posix_assert(!uaddr2);
+ urcu_posix_assert(!val3);
/*
* memory barriers to serialize with the previous uaddr modification.
* Check if NULL. Don't let users expect that they are taken into
* account.
*/
- assert(!timeout);
- assert(!uaddr2);
- assert(!val3);
+ urcu_posix_assert(!timeout);
+ urcu_posix_assert(!uaddr2);
+ urcu_posix_assert(!val3);
/*
* Ensure previous memory operations on uaddr have completed.