mariadb/linux/tests/test-xid.c
Rich Prohaska 4f96393239 move the pwrite4g test to the portabilty layer. closes #1537
git-svn-id: file:///svn/toku/tokudb@10069 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:57:44 -04:00

16 lines
301 B
C

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