>>>What is Thread 2 doing? >(gdb) thread 2 [Switching to thread 2 (Thread 2049 (LWP 5490))]#0 0x40727b90 in poll () from /lib/libc.so.6 (gdb) where #0 0x40727b90 in poll () from /lib/libc.so.6 #1 0x4063ed96 in __pthread_manager () from /lib/libpthread.so.0 #2 0x4063efc0 in pthread_start_thread () from /lib/libpthread.so.0