Pedro J. Estébanez
9a3a2b03b8
Drop old semaphore implementation
...
- Removed platform-specific implementations.
- Now all semaphores are in-object, unless they need to be conditionally created.
- Similarly to `Mutex`, provided a dummy implementation for when `NO_THREADS` is defined.
- Similarly to `Mutex`, methods are made `const` for easy use in such contexts.
- Language bindings updated: `wait()` and `post()` are now `void`.
- Language bindings updated: `try_wait()` added.
Bonus:
- Rewritten the `#ifdef` in `mutex.h` to meet the code style.
2020-03-03 13:20:42 +01:00
..
2020-02-28 14:24:09 +01:00
2020-02-25 15:27:29 +01:00
2020-02-26 20:40:10 +01:00
2020-03-01 23:00:42 +01:00
2020-02-28 09:15:38 +01:00
2020-03-01 23:00:42 +01:00
2020-02-19 10:16:45 +01:00
2020-02-28 14:24:09 +01:00
2020-02-11 11:53:26 +01:00
2020-02-28 14:24:09 +01:00
2020-02-11 11:53:26 +01:00
2020-02-28 14:24:09 +01:00
2020-02-23 23:48:44 +01:00
2020-02-20 08:24:50 +01:00
2020-03-01 23:00:42 +01:00
2020-02-11 11:53:26 +01:00
2020-02-28 14:32:36 +01:00
2020-02-28 14:24:09 +01:00
2020-03-01 23:00:42 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-12 14:24:54 -03:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-03-01 23:00:42 +01:00
2020-02-11 11:53:26 +01:00
2020-02-28 14:24:09 +01:00
2020-01-31 11:51:21 +01:00
2020-02-29 16:52:12 +05:30
2020-02-11 11:53:26 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-18 10:10:36 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-11 11:53:26 +01:00
2020-02-18 10:10:36 +01:00
2020-02-10 09:32:17 +01:00
2020-02-18 10:10:36 +01:00
2020-02-18 10:10:36 +01:00
2020-03-01 23:00:42 +01:00
2020-02-11 11:53:26 +01:00
2020-03-01 23:00:42 +01:00
2020-02-28 14:24:09 +01:00
2020-02-11 11:53:26 +01:00
2020-03-01 23:00:42 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-26 20:40:10 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-18 10:10:36 +01:00
2020-02-11 11:53:26 +01:00
2020-02-28 14:24:09 +01:00
2020-02-18 10:10:36 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-21 14:25:29 +01:00
2020-03-03 13:20:42 +01:00
2020-03-03 13:20:42 +01:00
2020-02-28 14:24:09 +01:00
2020-02-20 08:24:50 +01:00
2020-02-21 11:12:03 +01:00
2020-02-21 11:12:03 +01:00
2020-02-28 14:24:09 +01:00
2020-03-01 23:00:42 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-22 18:41:22 -03:00
2020-02-05 11:19:12 +01:00
2020-02-28 14:24:09 +01:00
2020-02-18 10:10:36 +01:00
2020-03-02 10:53:05 -05:00
2020-02-18 10:10:36 +01:00
2020-02-28 14:24:09 +01:00
2020-02-23 23:48:44 +01:00
2020-02-28 14:24:09 +01:00
2020-02-27 20:19:55 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-13 23:08:05 -03:00
2020-02-29 16:52:12 +05:30
2020-02-23 23:48:44 +01:00
2020-02-28 14:24:09 +01:00
2020-02-11 11:53:26 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-03-01 23:00:42 +01:00
2020-02-18 10:10:36 +01:00
2020-03-01 23:00:42 +01:00
2020-02-25 12:30:33 +02:00
2020-02-28 14:24:09 +01:00
2020-03-01 23:00:42 +01:00
2020-02-28 14:24:09 +01:00
2020-02-11 11:53:26 +01:00
2020-03-01 23:00:42 +01:00
2020-02-11 11:53:26 +01:00
2020-02-28 14:24:09 +01:00
2020-01-19 22:37:56 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-02-28 14:24:09 +01:00
2020-01-09 13:09:23 -03:00
2020-02-21 11:12:03 +01:00
2020-03-01 23:00:42 +01:00
2020-02-27 17:45:16 +01:00
2020-02-11 12:03:20 +01:00