Changed futex API adapters so that it is more obvious that the timeout is relative. Fixed timeouts handling in auto-reset futex event.