have a thread safe poll in libc_r, so we need this if we are going to dynamically link with threaded applications.