This commit is contained in:
TXuian 2022-12-11 23:09:00 +08:00
parent da231d3977
commit 2693c8dffa
1 changed files with 3 additions and 2 deletions

View File

@ -143,10 +143,11 @@ void *run_one_example(void *arg) {
organize_result(handle, start_time, end_time);
PrivMutexAbandon(&case_mu);
done_cnt++;
#ifdef NUTTX
if (done_cnt == 22) {
PrivSemaphoreAbandon(&res_mu);
printf("res mu release\n");
}
#endif
// printf("Case done. %d\n", done_cnt);
}
@ -186,8 +187,8 @@ void *run_benchmark_parallel(void *args) {
}
// printf("Create done.\n");
PrivSemaphoreObtainWait(&res_mu, NULL);
#ifdef NUTTX
PrivSemaphoreObtainWait(&res_mu, NULL);
case_attr.priority = 64;
case_attr.stacksize = 16384;
#else