Mutex的CallBack终止.... [英] CallBack on Mutex Terminated....

查看:113
本文介绍了Mutex的CallBack终止....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



使用 mutex 来确保只有一个应用程序实例非常简单和广泛,因为它是易于使用Process Explorer删除Mutex的句柄....



我想知道是否有可能有回调事件(或任何其他恶魔)通知,互联网刚被PE删除(不允许轮询....)



任何样本或提示????



提前致谢

Hi friends,

The use of mutex to ensure only one instance of the application is quite easy and widespread, as it is easy to use Process Explorer to delete the handle to the Mutex....

I was wondering if it is possible to have a callback event (or any other devilry) to be notified that the mutex was just deleted with PE (the polling is not allowed ....)

Any sample or hints????

Thanks in advance

推荐答案

没有这样的事件或回调。



AFAIK,你唯一的选择是投票。
There is no such event or callback.

AFAIK, your only option is to poll for it.


这篇关于Mutex的CallBack终止....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆