syscall adapted from glibc see source code for reference
removed the space after pthread_barrier causes problem
while creating alltypes.h header file.