Gitiles
Code Review
Sign In
pulkomandy.tk
/
contiki-1.x
/
784b297753becc1cda6209395f2f4ccf70ac10df
/
contiki
/
ek
/
dispatcher.c
784b297
Added doxygen documentation, changed dispatcher_signal() and dispatcher_idle() functions to dispatcher_process_signal() and dispatcher_process_idle(), fixed possible bug with return value of dispatcher_start()
by adamdunkels
· 21 years ago
268cce2
Added a dispatcher_fastemit() function which emits a signal immediately, added a dispatcher_connect() function which calls uip_connect() and issues a uIP poll signal.
by adamdunkels
· 21 years ago
8bb5cca
Added the ability to pass an argument pointer to newly created processes
by adamdunkels
· 21 years ago
5a90d64
Added an #if WITH_UIP around uIP function calls
by adamdunkels
· 21 years ago
26e643f
Made a bunch of local variables static in order to reduce code size
by adamdunkels
· 21 years ago
7b5a24f
Rewrote the dispatcher and ek modules so that all functionality now is contained in dispatcher, and the old ek is now obsolete
by adamdunkels
· 21 years ago
48f1dd0
Rewrote loop code to use pointers instead of indexes. Reduces code size with cc65
by adamdunkels
· 21 years ago
af610eb
Made a few pointers register variables to reduce code size
by adamdunkels
· 21 years ago
3e210d8
Processes now kept on a linked list, accible to user programs through the DISPATCHER_PROCS() API macro. Added a dispatcher_quit signal that is intended to quit processes.
by adamdunkels
· 21 years ago
59632f1
Processes' signal listeners are now unregistered when process exits, which made programs hang after a while
by adamdunkels
· 21 years ago
2e41542
Added workaround for function pointer arguments in uIP callbacks
by adamdunkels
· 21 years ago
74b6dc6
Fixed so no process will have process ID 0 (EK_ID_NONE) anymore
by adamdunkels
· 21 years ago
78c03dc
Added workarounds for SDCC problems - bugs with unsigned chars and the arguments to function pointers
by adamdunkels
· 21 years ago
3c11532
Added a dispatcher_exit() function which can be called to remove a process from the system
by adamdunkels
· 21 years ago
4b001e7
Changed htons() to HTONS() so that the dispatcher no longer relies on the uIP being compiled in
by adamdunkels
· 21 years ago
ca9ddcb
Initial import
by adamdunkels
· 21 years ago