Hi All I get the following and the process seems to hang forever, when I call nanosleep. The gdb output is below: #0 0xffffe410 in __kernel_vsyscall () #1 0xf7fc15f6 in nanosleep () from /lib/libpthread.so.0 What is this and am I missing some library. I have included libpthread too. Your help will be greatly appreciated. With Regards Vardhan