This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

using position independent options in rtx?

if i am not using position independent options while using rtx will it make my application thread unsafe?

Parents
  • You can't make non-reentrant library functions whatever you do.

    Making them movable doesn't change their reentrant capabilities.

    So when calling a non-reentrant function, you must make sure that no other thread tries to perform other calls at the same time. And a function in a library may call other functions in the library, so even two different function calls may be forbidden to call concurrently because they call a common, non-reentrant function.

Reply
  • You can't make non-reentrant library functions whatever you do.

    Making them movable doesn't change their reentrant capabilities.

    So when calling a non-reentrant function, you must make sure that no other thread tries to perform other calls at the same time. And a function in a library may call other functions in the library, so even two different function calls may be forbidden to call concurrently because they call a common, non-reentrant function.

Children
No data