Hey all,

I have observed on DM355 that if one thread tries to "sleep" while
another thread is making video encode/decode process calls the sleep
fails.

I see the same behaviour even in the encodedecode demo that came with
the DVSDK. I used the nanosleep API to sleep for 2s in one thread
while the video encode/decode was running and the nanosleep failed
with an EINTR error (immediately). The perror print is (unsurprisingly
:-) ) "Interrupted system call".

Any ideas why this could be happening?

One thing I did notice is that the process calls on 355 seem to be
generating SIGUSR1 interrupts on DM355. You can see this if you run
the encodedecode demo usingg gdb. Could it be because of this? If so,
any idea how I can prevent this interrupt from interrupting the
nanosleep?

---
Srikanth Nori

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to