lizsedley
Hi,
Is IItemEventListener.Update method thread safe? Documentation says: "Note that the method is nonblocking; moreover, it only takes locks to first order mutexes; so, it can safely be called while holding a custom lock." what is first order a mutex?
Thanks!
Dario Crivelli
Yes, IItemEventListener.Update is thread safe and, when invoked on multiple threads, it enqueues the requests.
We added that the locks needed to enqueue the requests are "first order",
meaning that while these locks are held (in whatever way) no other locks can be requested,
hence no deadlock can occur, regardless of what other threads are doing.
You might consider the above remark a redundant one, as taken for granted in typical API methods.