开发者

Windows Server 2003 provide network mutexes

I want to coordinate use of common files on Windows Server 2003 from two Windows XP Workstations. Does Windows Server 2003 provide network mutexes for this purpose? Are the开发者_开发技巧re any libraries of C functions to access to them? I couldn’t find such functions in Visual C++ 2008.


As far as i am concerned mutexes lets you perform thread synchronization only between processes in same workstation. I dont think you have anything powerful enough to provide you the same over common files across a network. But who knows there maybe!


I am not sure about the availability of mutexes for accessing shared files. But I can think of one solution: In the WIN2K3 workstation where the files reside, you can create a service which handles the file I/O and locking operations. The XP machines can request the service to do the file I/O.

I hope experienced users here could help us in validating this option.

Thanks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜