Is there a global named reader/writer lock?

后端 未结 4 1055
执笔经年
执笔经年 2020-12-08 11:26

I have multiple asp.net web apps serving a set of files. Periodically, one will update the file before serving it, but it can\'t update the file if it is in use.

I c

4条回答
  •  抹茶落季
    2020-12-08 12:03

    How about this? Don't serve up files. Serve up copies of files. When you need to make a change, create a new file, and serve up a copy of that from then on.

提交回复
热议问题