unleashed-firmware/furi
Silent 5b36c5465d
FuriThread: Improve state callbacks (#3881)
State callbacks assumed they were invoked from the thread that changed
its state, but this wasn't true for FuriThreadStateStarting in the past,
and now it's not true for FuriThreadStateStopped either.

Now it is safe to release the thread memory form the state callback
once it switches to FuriThreadStateStopped. Therefore, pending deletion
calls can be removed.

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-10-08 20:50:31 +01:00
..
core FuriThread: Improve state callbacks (#3881) 2024-10-08 20:50:31 +01:00
flipper.c [FL-3832] Use static synchronisation primitives (#3679) 2024-06-05 18:04:03 +01:00
flipper.h Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
furi.c Added -Wundef to compiler options (#3815) 2024-08-01 01:38:20 +09:00
furi.h Added -Wundef to compiler options (#3815) 2024-08-01 01:38:20 +09:00
SConscript fbt: lint fixes (#2008) 2022-11-12 19:03:22 +09:00