-
Notifications
You must be signed in to change notification settings - Fork 36
Multi Threading Issues
AdhamAwadhi edited this page May 9, 2017
·
1 revision
When using Jamaa Smpp Client, it is important to keep in mind that all events provided by the SmppClient class are invoked by arbitrary threads from the thread pool. As such it is possible for an event handler to be invoked by more than one thread concurrently which may result into unpredictable outcomes or data corruptions.
You must therefore ensure that all SmppClient event handlers, and other methods accessible from the event handlers are thread-safe.