Hazard Pointers: Critical fix.

Some debug code somehow snuck through. This breaks hazard pointers
behavior if the hazard pointers cache is used.
ck_pring
Samy Al Bahra 14 years ago
parent e5a5d0e2b9
commit 489bbc058b

@ -150,7 +150,13 @@ hazard_compare(const void *a, const void *b)
x = a;
y = b;
return (*(char *)x - *(char *)y);
if (*x < *y) {
return -1;
} else if (*x == *y) {
return 0;
}
return 1;
}
CK_CC_INLINE static bool

Loading…
Cancel
Save