Hi,

I have a combo server with multiple codecs on DSP side and a
multithreaded application on arm side. The application creates a thread
for each codec. 

Each thread opens engine and calls codec APIs. Problem I am facing is,
if I try to open 8 threads for codec A first and then 8 threads for
codec B, it works fine.

But if I reverse the codec order (i.e if I open 8 threads for codec B
first and then 8 threads of codec A,  then for codec A threads I am
getting error as ->

 

@0x00084474:[T:0x0002800b] CE - Engine_createNode> Remote node creation
FAILED (0x80008008).

 

Number of threads out of 8 of codec A which give this error varies for
each run.

 

I have checked and I am getting non-NULL CE handle with no error code.
Also somewhere on net I read that above error code 0x80008008 indicates
dsp link layer version mismatch.

But then this error should have come in all cases for all threads.

 

I also tried ensuring that a thread's call to Engine_open() is complete
before other thread calls its Engine_open. (by using mutex) . But it
didn't resolve the problem.

If I create any number of threads only for codec A or only for codec B,
then application works fine with no errors.

Any help is welcome J

 

Regards,

Viraj


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[EMAIL PROTECTED]
**********************************************************************

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

Reply via email to