* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <urcu/assert.h>
#include <urcu/rculfhash.h>
#include <stdio.h>
+#include <stdlib.h>
#ifdef DEBUG
#define dbg_printf(fmt, args...) printf("[debug rculfhash] " fmt, ## args)
*/
pthread_mutex_t resize_mutex; /* resize mutex: add/del mutex */
pthread_attr_t *resize_attr; /* Resize threads attributes */
- unsigned int in_progress_resize, in_progress_destroy;
+ unsigned int in_progress_destroy;
unsigned long resize_target;
int resize_initiated;
struct cds_lfht *ht;
ht = calloc(1, cds_lfht_size);
- assert(ht);
+ urcu_posix_assert(ht);
ht->mm = mm;
ht->bucket_at = mm->bucket_at;