Robustness of InterProcessLock?


#1

Hi,
I have a small question regarding the InterProcessLock functionality. Is it mature and robust on the supported desktop OS’ (Win, OSX, Linux)? What happens if an app crashes while having a lock? Is it automatically released by the OS?

Oh, by the way, will the IPL also lock across threads in the same process?

Thanks!


#2

Sorry about not finishing the post before posting it. :oops: I forgot to ask about the performance as well. It’s difficult for me to figure out how quick a lock/unlock is under posix.


#3

It’s based on file-locking in posix, and win32 provides a special OS way to do it.

So it should be pretty robust, but certainly don’t expect it to be fast!


#4

Alright. That’s what I expected. Thanks Jules!