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

21 Commits

Author SHA1 Message Date
fb167c7a9c
sys/sema*: move dependency resolution in its own Makefile.dep 2023-06-15 10:24:49 +02:00
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
Francisco Molina
9cb27b910a sys/sema/Kconfig: fix inclusion of xtimer
sema currently does not depend on xtimer, but on xtimer or ztimer
2021-10-06 17:59:49 +02:00
Hauke Petersen
b339e91e18 sys/sema: allow to use ztimer and/or xtimer 2021-04-12 13:08:39 +02:00
MrKevinWeiss
02d19b0b4a sys/sema: Add Kconfig support 2021-02-22 14:54:15 +01:00
d6b6c0e98f sys/sema: add missing limits.h 2020-11-23 16:56:34 +01:00
Bas Stottelaar
1b35d06a51 sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +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
7718f114cb all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
Martine Lenders
d38a9db966 Merge pull request #4551 from authmillenon/sema/fix/post
sema: some API fixes
2016-01-26 19:12:41 +01:00
Martine Lenders
d5af07c759 sema: style fixes 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
47a2df7423 sema: piggy-back some style fixes 2016-01-23 16:35:21 +01:00
Martine Lenders
1dc388fea0 sema: pre-set timeout-timer for sema_wait_timed_msg() 2016-01-23 16:35:21 +01:00
Martine Lenders
db01af3502 sema: deactivate interrupts for queue manipulation 2015-11-24 14:06:01 +01:00
Martine Lenders
77547dd399 sema: fix race-condition that causes timeout reset 2015-11-24 14:06:01 +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