Understanding Thread Safety in /n software Components


.NET and Java Editions

The .NET and Java editions of /n software components are thread safe, and component methods can be called from separate threads. However, the component does not guarantee cross-thread synchronization, and if a method is called while the component is busy, an error may occur.

Additionally, calling component methods from within a component event handler under certain conditions can lead to a deadlock. In these cases, it is recommended to schedule the work inside the event handler and perform it after the event returns.

C++ Edition and Other Editions

All other editions are not thread safe. Components should be used only on the thread in which they were instantiated.

We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.