Are /n software Components Thread Safe?

.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. The component does not guarantee that cross-thread calls will be correctly synchronized, however, and if the component is busy when a cross-thread call is made it will result in an error.

Further, under certain conditions, calling component methods from within a component event handler can lead to a deadlock. It is recommended in these cases to instead schedule the work inside of the event handler and perform the work 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