Implement mutex for local target, fix concurrency test (#104)
* Implement mutex support for target_lo * Kill application if test hangs * Use mutex in furi_take and furi_give * Give furi application enough time to finish * remove app obj after build * enable counting semaphores Co-authored-by: aanper <mail@s3f.ru>
This commit is contained in:
@@ -235,7 +235,7 @@ bool test_furi_concurrent_access(FuriRecordSubscriber* log) {
|
||||
furi_give(holding_record);
|
||||
}
|
||||
|
||||
delay(20);
|
||||
delay(50);
|
||||
|
||||
if(second_app->handler != NULL) {
|
||||
fuprintf(log, "second app still alive\n");
|
||||
|
Reference in New Issue
Block a user