some heavy bugfix for 32bit systems: wrong time
calculation in _lthread_usec_now()
on timeout functions return -1 & ETIMEDOUT instead of -2
other minor fixes