Skip to content
Commit 2940109a authored by Pavel Tikhomirov's avatar Pavel Tikhomirov Committed by Pavel Emelyanov
Browse files

posix-timer: Restore and fix one timer



This also add function to check if time represented by two numbers is
valid. I.e. for timespec(sec, nsec), sec and nsec must be > 0 and nsec
must be less when NSEC_PER_SEC.

Signed-off-by: default avatarPavel Tikhomirov <snorcht@gmail.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent d8be68f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment