This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6748 - multithreaded C++ exceptions?



H!

I have read here
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/12567.aspx
that multithreading and C++ exceptions are not compartible on TI compilers.
Is it still true?
Is there any way to use C++ exceptions in multithreaded programms for C6748?

Aleksey

  • Aleksey said:
    multithreading and C++ exceptions are not compartible on TI compilers.
    Is it still true?

    Yes.

    Aleksey said:
    Is there any way to use C++ exceptions in multithreaded programms for C6748?

    No.

    Thanks and regards,

    -George

     

  • Georgem said:

    multithreading and C++ exceptions are not compartible on TI compilers.
    Is it still true?

    Yes.

    Aleksey said:
    Is there any way to use C++ exceptions in multithreaded programms for C6748?

    No.

    Thanks and regards,

    -George

     [/quote]

    I have read that C6000 v.7.0 uses complitely new structures to support exceptions, is it so?

    Are they still incompatible with multithreading?

     

  • Aleksey said:

    I have read that C6000 v.7.0 uses complitely new structures to support exceptions, is it so?

    Yes.

    Aleksey said:

    Are they still incompatible with multithreading?

    Yes, sorry.  The new exception handling infrastructure is incrementally more friendly to multithreading than the old way, but there's still a bunch of other things that would need to change to make it work.

  • Obviously, this is extremely important information to know.  Would you _please_ add a note regarding this lack of compatibility to the compiler manual?

  • The compiler user's guide presently leaves issues of multi-threading to other documents.  However, it probably should at least mention the issue.  I've added SDSCM00044373 to represent specifically the lack of documentation in the compiler user's guide about the incompatibility of C++ exceptions and multi-threading.