How do I notify a process of an SQLite database change done in a different process?

前端 未结 7 2500
南笙
南笙 2021-02-19 16:27

Let\'s say I have two or more processes dealing with an SQLite database - a \"player\" process and many \"editor\" processes.

The \"player\" process reads the database

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-19 17:04

    Just open a socket between the two processes and have the editor tell all the players about the update.

提交回复
热议问题