Removed unnecessary casts

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Added urt_get_exec_time

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Renamed urt_free to urt_exit

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Simplified urt_reserve_name's error handling

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Interface to threads defined

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Removed LIKELY/UNLIKELY macros from ifs with just a goto

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Implemented thread functions

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>