1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/application_layer/emcute
Marian Buschsieweke 3b6fa61829
sys: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 20:28:11 +02:00
..
emcute_internal.h net: added emCute - introducing MQTT-SN support 2017-02-28 16:58:29 +01:00
emcute_str.c net: added emCute - introducing MQTT-SN support 2017-02-28 16:58:29 +01:00
emcute.c sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
Makefile net: added emCute - introducing MQTT-SN support 2017-02-28 16:58:29 +01:00