This commit is contained in:
parent
da231d3977
commit
2693c8dffa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue