Commit Graph

6 Commits

Author SHA1 Message Date
Philippe Gerum a7a084ea15 lib/sem: introduce compact creation calls
Zero-initialized semaphores timed on the monotonic clock is the
most common form used by applications. Allow people to write more
compact code by providing creation calls and static initializers aimed
at building these directly:

- evl_new_sem(), EVL_SEM_INITIALIZER() for zero-init semaphores
  timed on the monotonic clock.

- evl_new_sem_any() and EVL_SEM_ANY_INITIALIZER() usable for any
  initialization form, specifying the clock and init value.
2019-08-19 10:22:49 +02:00
Philippe Gerum f0d37f4730 treewide: API update
Improve consistency in naming and disambiguate some calls.
2019-06-13 10:31:04 +02:00
Philippe Gerum afe4355952 tests/helpers: fix assertion in new_thread() 2019-05-28 19:43:42 +02:00
Jorge Ramirez-Ortiz bad49d4470 lib, tests: access kernel elements and utilities via UAPI 2019-03-28 13:57:17 +01:00
Philippe Gerum eda7791f9b evl: rename evenless/ paths to evl/ 2019-03-10 16:25:02 +01:00
Philippe Gerum 74ea094747 tests: semaphore P operation with timeout 2019-03-04 17:49:07 +01:00