#include #include #include #include static void *f(void *arg) { void *vp = toku_malloc(32); assert(vp); toku_free(vp); return arg; } int main(void) { int r; int i; const int max_threads = 2; toku_pthread_t tids[max_threads]; for (i=0; i