How To Mutex Across a Network?

后端 未结 6 1383
独厮守ぢ
独厮守ぢ 2021-01-17 18:05

I have a desktop application that runs on a network and every instance connects to the same database.

So, in this situation, how can I implement a mutex that works a

6条回答
  •  有刺的猬
    2021-01-17 19:08

    Conversely consider a message queue. As mentioned, the DB should manage all of this for you either in transactions or serial access to tables (ala MyISAM).

提交回复
热议问题