1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-12 04:41:26 +04:00

Prevent idle priority threads from potentially starving the FreeRTOS idle task (#3909)

* FuriThread: Make FuriThreadPriorityIdle equal to the FreeRTOS one, remove FuriThreadPriorityNone
  This magic constant was meaningless,
  FuriThreadPriorityNormal is now assigned by default instead.
* Make furi_thread_list_process private
  Its 'runtime' parameter is to be obtained from FreeRTOS,
  which means apps cannot do it.
* DirectDraw: Remove an useless include and fix memory leak
  Makes this debug app compileable with uFBT out of the box

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Silent
2024-10-02 19:11:13 +02:00
committed by GitHub
parent 7fc209f001
commit 56d2923f1f
8 changed files with 35 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
entry,status,name,type,params
Version,+,74.0,,
Version,+,75.0,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/bt/bt_service/bt_keys_storage.h,,
Header,+,applications/services/cli/cli.h,,
@@ -1652,7 +1652,6 @@ Function,+,furi_thread_list_free,void,FuriThreadList*
Function,+,furi_thread_list_get_at,FuriThreadListItem*,"FuriThreadList*, size_t"
Function,+,furi_thread_list_get_isr_time,float,FuriThreadList*
Function,+,furi_thread_list_get_or_insert,FuriThreadListItem*,"FuriThreadList*, FuriThread*"
Function,+,furi_thread_list_process,void,"FuriThreadList*, uint32_t, uint32_t"
Function,+,furi_thread_list_size,size_t,FuriThreadList*
Function,+,furi_thread_resume,void,FuriThreadId
Function,+,furi_thread_set_appid,void,"FuriThread*, const char*"
1 entry status name type params
2 Version + 74.0 75.0
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/bt/bt_service/bt_keys_storage.h
5 Header + applications/services/cli/cli.h
1652 Function + furi_thread_list_get_at FuriThreadListItem* FuriThreadList*, size_t
1653 Function + furi_thread_list_get_isr_time float FuriThreadList*
1654 Function + furi_thread_list_get_or_insert FuriThreadListItem* FuriThreadList*, FuriThread*
Function + furi_thread_list_process void FuriThreadList*, uint32_t, uint32_t
1655 Function + furi_thread_list_size size_t FuriThreadList*
1656 Function + furi_thread_resume void FuriThreadId
1657 Function + furi_thread_set_appid void FuriThread*, const char*