Code:
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) (sleeping...)
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
pollsys(0x08047B70, 0, 0x08047BC0, 0x00000000) = 0
waitid(P_ALL, 0, 0x08047AF0, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0