David van Moolenbroek e10ce184e4 libsys: make tickdelay(3) more reliable
Previously, there was a tiny chance that tickdelay(3) would return
early or that it would fail to reinstate a previous alarm.

- sys_setalarm(2) now returns TMR_NEVER instead of 0 for the time
  left if no previous alarm was set;
- sys_setalarm(2) now also returns the current time, to allow the
  caller to determine whether it got an alarm notification for the
  alarm it set or for a previous alarm that has just gone off;
- tickdelay(3) now makes use of these facilities.

Change-Id: Id4f8fe19a61ca8574f43131964e6f0317f613f49
2015-08-08 16:55:23 +00:00
2015-07-28 21:56:19 +00:00
2015-06-07 14:38:12 +00:00
2015-07-28 21:56:19 +00:00
2015-07-26 15:53:37 +00:00
2015-06-29 10:58:16 +00:00
2015-04-15 09:47:27 +02:00
2014-08-07 14:27:32 +02:00
2014-07-31 16:00:30 +02:00
2015-07-28 21:56:19 +00:00
2014-07-28 17:05:59 +02:00
2014-07-28 17:05:59 +02:00
2015-07-26 11:57:04 +00:00
2014-07-28 17:05:57 +02:00
2010-01-21 10:16:05 +00:00
Description
A fun microkernel meant to match modern usecases
GPL-3.0 148 MiB
Languages
C 78.2%
Roff 10.2%
Assembly 4.6%
Shell 3.7%
Makefile 1.6%
Other 1.2%