Hi Friends,

I am adding H/W video codec support  to opencore and the implementation
pseudocode is as follows :

1.  setup signal handler for SIGIO
2.  Send encoded data to h/w decoder
3.  call sigsuspend() , after masing (sigprocmask)  all other signals except
SIGIO.
4.  driver will send SIGIO once end of decoding by h/w.
5.  User space process will wake-up and process decoded data  .

Here, SIGIO is received by signal handler, but my user-space process (open
core decoder node process) is hanged and never wakes-up and hence blocked
within sigsuspend() .
Can anyone throw some ideas if you have faced similar problem ?

PS : I couldn't find any problem with signal handling mechanism as i test on
my host pc, with similar implementation.

Regards,
Shankar

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to