Skip to main content

Are Orbix 6 libraries thread safe? 

  • May 17, 2013
  • 0 replies
  • 0 views

Summary Are Orbix 6 libraries thread safe? 
Article Number 18346
Environment All Supported Operating Systems Orbix 6.x Orbix 5.x
Question/Problem Description Are Orbix 6 libraries thread safe? 
Is Orbix C code generated with idl compiler thread safe?
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
Resolution

Orbix 5 and Orbix 6 is designed to write multi-threaded (and single threaded) application from the ground up. However, the following describes in more details about Orbix thread safety:

  • All Orbix library public APIs are thread safe.
  • Per CORBA specification, add_ref/remove_ref operations in the idl generated code is thread safe.
  • Regarding the rest of the generated code, Orbix IDL -> C code generator generates mappings for user-defined IDL types, as well as client-side proxy invocation code (-base switch) and server-side servant dispatch code (-poa switch). The client-side invocation code and server-side dispatch code are thread-safe. The mappings generated for user-defined IDL types are not thread safe for concurrent modification but are thread-safe for concurrent reads.

 

Workaround
Notes
Attachment
Created date: 06 September 2011
Last Modified: 13 February 2013
Last Published: 23 June 2012
First Published date: 09 September 2011

#Orbix
#KnowledgeDocs