add more debugging information
make poll/wake descriptor first in receive_thread so if the receive socket is not dead and is full of data, we wake momentarily whoever is trying to wake us
add thread pid in debugging information
Merge branch 'master' of git.mobileinno.com:pfs
there is no need to check if debug level is 0 explicitly, do { if (10<=0) blabla(); } while (0); will always yeld no code
small improvements
change pid to %u