@marijnh, there shouldn't be any thread safety issues.
"Asynchronous Events
In Sublime Text 2, only the set_timeout method was thread-safe. In Sublime Text 3, every API method is thread-safe. Furthermore, there are now asynchronous event handlers, to make writing non-blocking code easier:"
...
@marijnh, there shouldn't be any thread safety issues.
"Asynchronous Events
In Sublime Text 2, only the set_timeout method was thread-safe. In Sublime Text 3, every API method is thread-safe. Furthermore, there are now asynchronous event handlers, to make writing non-blocking code easier:" ...
The article quoted can be found here http://www.sublimetext.com/docs/3/porting_guide.html