(Answer) (Category) SCO comp.unix.sco.programmer FAQ. : (Category) SCO Development Environments. :
Is UDK C++ thread safe?
Yes. In particular:

Assuming you compile with CC -Kthread, the generated code from the compiler is thread safe. This includes static local variables with dynamic initialization expressions, which require special guards in this case.

Assuming you also link with CC -Kthread, the language support runtime routines are thread safe. This means that things like exception handling, new/delete, and static init/ctor/dtor processing all work correctly in the presence of threads.

The C++ Standard Library is also safe for multithreaded applications. This means that: all internal data structures in the library are protected against simultaneous access; simultaneous access to distinct containers is safe; and simultaneous read-only access to a shared container is safe. Simultaneous access to a shared container with at least one thread writing, however, must be protected by the application through the use of mutual exclusion primitives.

   
The older pre-standard iostreams classes, and the old C++ Standard Components classes, both of which are provided for compatibility with existing applications, are not thread-safe.
jls@sco.com
[Append to This Answer]
Previous: (Answer) What's the UDK link order for building Motif programs?
Next: (Answer) On osr5 when I dlopen a shared library I get "symbol unresolved" errors
This document is: http://www.zenez.com/cgi-bin/scoprogfaq/faq?file=79
[Search] [Appearance]
This is a Faq-O-Matic 2.721.