1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Francisco Molina
2e2daae5d0 sys/sema: use sema_ztimer64 to implement old sema api
This PR removes the old xtimer based implementation for sema. Since
this implementation used 64bit timeout, backweard compatibility is
kept by having `sema_wait_timed` be implemented by `ztimer64_usec`
which is enabled by selecting `sema_deprecated`

With this 64bit `sema` api is now deprecated.
2022-03-10 14:19:44 +01:00
Hauke Petersen
b339e91e18 sys/sema: allow to use ztimer and/or xtimer 2021-04-12 13:08:39 +02:00
Hauke Petersen
7b0c5f9d5d sys/sema: add same_get_value() 2021-01-15 15:22:31 +01:00
Martine Lenders
fd16692c1c Merge pull request #6696 from lebrush/fix/semaphore
sys: sema: semaphore bugfixes
2017-03-28 20:54:06 +02:00
Simon Brummer
edc35339c7 sema: doc: fix typo in error return value 2017-03-27 12:43:32 +02:00
Victor Arino
0e06458f53 sys/sema: re-test value after owning mutex 2017-03-06 18:03:27 +01:00
Victor Arino
791b68a295 sys/sema: re-implement without IPC 2017-01-19 08:59:17 +01:00
Martine Lenders
96075ed2c1 sema: introduce static initializer 2016-01-23 16:38:56 +01:00
Martine Lenders
632c9a2bd0 sema: harmonize sema_post return with rest of API 2016-01-23 16:38:55 +01:00
Martine Lenders
d104cff214 sema: port to xtimer 2015-11-24 10:46:06 +01:00
Martine Lenders
5cef6bcc0a sema: apply rename to function and type names 2015-10-28 17:16:22 +01:00
Martine Lenders
ee4f79482a sem: rename to sema
To prevent name colisions with POSIX semaphores
2015-10-28 17:16:22 +01:00