unleashed-firmware/furi/core
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
..
base.h [FL-3847, FL-3513] Thread Signals (#3730) 2024-06-21 21:44:36 +01:00
check.c VA Fixes: USB IRQ Handling and EP configuration, Thread handler shenanigans. (#3705) 2024-06-13 01:07:29 +10:00
check.h [FL-3867] Code formatting update (#3765) 2024-07-15 13:38:49 +09:00
common_defines.h Furi: count ISR time. Cli: show ISR time in top. (#3751) 2024-07-06 11:44:25 +01:00
core_defines.h [FL-3867] Code formatting update (#3765) 2024-07-15 13:38:49 +09:00
critical.c [FL-3867] Code formatting update (#3765) 2024-07-15 13:38:49 +09:00
dangerous_defines.h New toolchain with gcc 12 (#3254) 2024-02-12 09:04:12 +07:00
event_flag.c FeliCa anti-collision fix (#3889) 2024-09-09 22:11:53 +01:00
event_flag.h FeliCa anti-collision fix (#3889) 2024-09-09 22:11:53 +01:00
event_loop_i.h [FL-3841] FuriEventLoop Pt.2 (#3703) 2024-08-07 12:49:41 +09:00
event_loop_link_i.h [FL-3841] FuriEventLoop Pt.2 (#3703) 2024-08-07 12:49:41 +09:00
event_loop_tick_i.h [FL-3846] Event Loop Timers (#3721) 2024-07-02 13:09:50 +01:00
event_loop_tick.c [FL-3846] Event Loop Timers (#3721) 2024-07-02 13:09:50 +01:00
event_loop_timer_i.h [FL-3846] Event Loop Timers (#3721) 2024-07-02 13:09:50 +01:00
event_loop_timer.c Threading, Timers improvements (#3865) 2024-09-07 19:18:51 +01:00
event_loop_timer.h [FL-3846] Event Loop Timers (#3721) 2024-07-02 13:09:50 +01:00
event_loop.c Threading, Timers improvements (#3865) 2024-09-07 19:18:51 +01:00
event_loop.h [FL-3841] FuriEventLoop Pt.2 (#3703) 2024-08-07 12:49:41 +09:00
kernel.c [FL-3867] Code formatting update (#3765) 2024-07-15 13:38:49 +09:00
kernel.h kerel typo (#3901) 2024-09-15 16:07:04 +01:00
log.c Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
log.h [FL-3867] Code formatting update (#3765) 2024-07-15 13:38:49 +09:00
memmgr_heap.c [FL-3867] Code formatting update (#3765) 2024-07-15 13:38:49 +09:00
memmgr_heap.h Revert "TLSF memory allocator. Less free flash, moar free ram. (#3572)" (#3651) 2024-05-16 18:43:27 +04:00
memmgr.c [FL-3867] Code formatting update (#3765) 2024-07-15 13:38:49 +09:00
memmgr.h Revert "TLSF memory allocator. Less free flash, moar free ram. (#3572)" (#3651) 2024-05-16 18:43:27 +04:00
message_queue.c [FL-3841] FuriEventLoop Pt.2 (#3703) 2024-08-07 12:49:41 +09:00
message_queue.h Code Cleanup: unused includes, useless checks, unused variables, etc... (#3696) 2024-06-11 03:04:29 +10:00
mutex.c [FL-3841] FuriEventLoop Pt.2 (#3703) 2024-08-07 12:49:41 +09:00
mutex.h [FL-3832] Use static synchronisation primitives (#3679) 2024-06-05 18:04:03 +01:00
pubsub.c Code Cleanup: unused includes, useless checks, unused variables, etc... (#3696) 2024-06-11 03:04:29 +10:00
pubsub.h Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
record.c Code Cleanup: unused includes, useless checks, unused variables, etc... (#3696) 2024-06-11 03:04:29 +10:00
record.h Api Symbols: replace asserts with checks (#3507) 2024-03-19 23:43:52 +09:00
semaphore.c [FL-3841] FuriEventLoop Pt.2 (#3703) 2024-08-07 12:49:41 +09:00
semaphore.h [FL-3841] FuriEventLoop Pt.2 (#3703) 2024-08-07 12:49:41 +09:00
stream_buffer.c [FL-3841] FuriEventLoop Pt.2 (#3703) 2024-08-07 12:49:41 +09:00
stream_buffer.h [FL-3833] Furi: event loop (#3675) 2024-06-10 20:53:08 +03:00
string.c [FL-3888] Make file extensions case-insensitive (#3828) 2024-08-09 16:14:40 +09:00
string.h [FL-3888] Make file extensions case-insensitive (#3828) 2024-08-09 16:14:40 +09:00
thread_list_i.h Prevent idle priority threads from potentially starving the FreeRTOS idle task (#3909) 2024-10-02 18:11:13 +01:00
thread_list.c Prevent idle priority threads from potentially starving the FreeRTOS idle task (#3909) 2024-10-02 18:11:13 +01:00
thread_list.h Prevent idle priority threads from potentially starving the FreeRTOS idle task (#3909) 2024-10-02 18:11:13 +01:00
thread.c FuriThread: Improve state callbacks (#3881) 2024-10-08 20:50:31 +01:00
thread.h FuriThread: Improve state callbacks (#3881) 2024-10-08 20:50:31 +01:00
timer.c FeliCa anti-collision fix (#3889) 2024-09-09 22:11:53 +01:00
timer.h Code Cleanup: unused includes, useless checks, unused variables, etc... (#3696) 2024-06-11 03:04:29 +10:00