We use argus library to develop the image application with ar0144 camera on TX2. It worked well before.
But recently we modified the scheduling policy (SCHED_OTHER —> SCHED_FIFO) and raise priority(-81) of our application, then we found that sometimes our application cannot get the image and the cpuload is about ~100%, the case’s probability is about 1/20.
wo did some debug work: there are 3 threads occupy cpu，and some other threads called pthread_mutex_lock().
Is this case related to the scheduling strategy?
Is there related solution？
- NVIDIA Jetson TX2
- Jetpack 4.3 [L4T 32.3.1]
- NV Power Mode: MAXN - Type: 0