#include #include #include #include #include "toku_os.h" #include static int gettid(void) { return syscall(__NR_gettid); } int main(void) { assert(toku_os_getpid() == getpid()); assert(toku_os_gettid() == gettid()); return 0; }