summaryrefslogtreecommitdiff
path: root/doc/developer
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-10-06 22:06:23 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-10-20 20:07:15 +0300
commitee1455dd983e2b19018890c2da5e22bb97b3adb7 (patch)
tree2ad4cece5e23cd14e95073f5d35549d61b3e0b8b /doc/developer
parent5db95752c063a46a6ee8cdf5e65d45c68a8de77f (diff)
lib: change thread_add_* API
Do not return pointer to the newly created thread from various thread_add functions. This should prevent developers from storing a thread pointer into some variable without letting the lib know that the pointer is stored. When the lib doesn't know that the pointer is stored, it doesn't prevent rescheduling and it can lead to hard to find bugs. If someone wants to store the pointer, they should pass a double pointer as the last argument. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'doc/developer')
0 files changed, 0 insertions, 0 deletions