Cross Process (and machine) Synchronization (Semaphores)
问题 Background: My WCF application has to call a service that does not have any concurrency checking in it. It is a service created by a third party and getting them to add concurrency checking may not be possible. I can ensure that the only way to call the third party service is via my WCF application. So I am considering putting concurrency checking in my code. To do this, I will use an identifier that uniquely describes the data being modified. The idea is that if one call to the service is