[Fl-3147] Remove ValueMutex (#2467)

* Move keypad_test to furi_mutex
* Move text_box_test to furi_mutex
* Move snake_game to furi_mutex
* Remove ValueMutex completely
* Snake Game: simplify code and fix PVS warning
* F18: sync API symbols

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Astra
2023-03-07 15:09:45 +02:00
committed by GitHub
parent eefca9f498
commit 9819306731
10 changed files with 68 additions and 322 deletions

View File

@@ -1,5 +1,5 @@
entry,status,name,type,params
Version,+,17.0,,
Version,+,18.0,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/cli/cli.h,,
Header,+,applications/services/cli/cli_vcp.h,,
@@ -491,7 +491,6 @@ Function,-,acosh,double,double
Function,-,acoshf,float,float
Function,-,acoshl,long double,long double
Function,-,acosl,long double,long double
Function,+,acquire_mutex,void*,"ValueMutex*, uint32_t"
Function,-,aligned_alloc,void*,"size_t, size_t"
Function,+,aligned_free,void,void*
Function,+,aligned_malloc,void*,"size_t, size_t"
@@ -703,7 +702,6 @@ Function,-,ctermid,char*,char*
Function,-,ctime,char*,const time_t*
Function,-,ctime_r,char*,"const time_t*, char*"
Function,-,cuserid,char*,char*
Function,+,delete_mutex,_Bool,ValueMutex*
Function,+,dialog_ex_alloc,DialogEx*,
Function,+,dialog_ex_disable_extended_events,void,DialogEx*
Function,+,dialog_ex_enable_extended_events,void,DialogEx*
@@ -1692,7 +1690,6 @@ Function,+,infrared_worker_tx_set_get_signal_callback,void,"InfraredWorker*, Inf
Function,+,infrared_worker_tx_set_signal_sent_callback,void,"InfraredWorker*, InfraredWorkerMessageSentCallback, void*"
Function,+,infrared_worker_tx_start,void,InfraredWorker*
Function,+,infrared_worker_tx_stop,void,InfraredWorker*
Function,+,init_mutex,_Bool,"ValueMutex*, void*, size_t"
Function,-,initstate,char*,"unsigned, char*, size_t"
Function,+,input_get_key_name,const char*,InputKey
Function,+,input_get_type_name,const char*,InputType
@@ -2164,12 +2161,10 @@ Function,+,rand,int,
Function,-,rand_r,int,unsigned*
Function,+,random,long,
Function,-,rawmemchr,void*,"const void*, int"
Function,-,read_mutex,_Bool,"ValueMutex*, void*, size_t, uint32_t"
Function,+,realloc,void*,"void*, size_t"
Function,-,reallocarray,void*,"void*, size_t, size_t"
Function,-,reallocf,void*,"void*, size_t"
Function,-,realpath,char*,"const char*, char*"
Function,+,release_mutex,_Bool,"ValueMutex*, const void*"
Function,-,remainder,double,"double, double"
Function,-,remainderf,float,"float, float"
Function,-,remainderl,long double,"long double, long double"
@@ -2967,7 +2962,6 @@ Function,+,widget_alloc,Widget*,
Function,+,widget_free,void,Widget*
Function,+,widget_get_view,View*,Widget*
Function,+,widget_reset,void,Widget*
Function,-,write_mutex,_Bool,"ValueMutex*, void*, size_t, uint32_t"
Function,-,xPortGetFreeHeapSize,size_t,
Function,-,xPortGetMinimumEverFreeHeapSize,size_t,
Function,-,xPortStartScheduler,BaseType_t,
1 entry status name type params
2 Version + 17.0 18.0
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/cli/cli.h
5 Header + applications/services/cli/cli_vcp.h
491 Function - acoshf float float
492 Function - acoshl long double long double
493 Function - acosl long double long double
Function + acquire_mutex void* ValueMutex*, uint32_t
494 Function - aligned_alloc void* size_t, size_t
495 Function + aligned_free void void*
496 Function + aligned_malloc void* size_t, size_t
702 Function - ctime char* const time_t*
703 Function - ctime_r char* const time_t*, char*
704 Function - cuserid char* char*
Function + delete_mutex _Bool ValueMutex*
705 Function + dialog_ex_alloc DialogEx*
706 Function + dialog_ex_disable_extended_events void DialogEx*
707 Function + dialog_ex_enable_extended_events void DialogEx*
1690 Function + infrared_worker_tx_set_signal_sent_callback void InfraredWorker*, InfraredWorkerMessageSentCallback, void*
1691 Function + infrared_worker_tx_start void InfraredWorker*
1692 Function + infrared_worker_tx_stop void InfraredWorker*
Function + init_mutex _Bool ValueMutex*, void*, size_t
1693 Function - initstate char* unsigned, char*, size_t
1694 Function + input_get_key_name const char* InputKey
1695 Function + input_get_type_name const char* InputType
2161 Function - rand_r int unsigned*
2162 Function + random long
2163 Function - rawmemchr void* const void*, int
Function - read_mutex _Bool ValueMutex*, void*, size_t, uint32_t
2164 Function + realloc void* void*, size_t
2165 Function - reallocarray void* void*, size_t, size_t
2166 Function - reallocf void* void*, size_t
2167 Function - realpath char* const char*, char*
Function + release_mutex _Bool ValueMutex*, const void*
2168 Function - remainder double double, double
2169 Function - remainderf float float, float
2170 Function - remainderl long double long double, long double
2962 Function + widget_free void Widget*
2963 Function + widget_get_view View* Widget*
2964 Function + widget_reset void Widget*
Function - write_mutex _Bool ValueMutex*, void*, size_t, uint32_t
2965 Function - xPortGetFreeHeapSize size_t
2966 Function - xPortGetMinimumEverFreeHeapSize size_t
2967 Function - xPortStartScheduler BaseType_t