当前位置:网站首页>C dual insurance process monitor lol ensures that the monitored program runs' almost 'forever Keywords: process operation process view create process
C dual insurance process monitor lol ensures that the monitored program runs' almost 'forever Keywords: process operation process view create process
2022-04-21 23:41:00 【delacrxoix_ xu】
Suppose there is a program I hope it keeps running Leave it alone for years and decades . But sometimes windows It's always a dream to cause my program to crash and exit . So I decided to write a monitor , View current process list If there is a process with this name , Just sleep A span , Then repeat the monitoring , Without this process , Then execute this process .
But there is a problem , Suppose my monitor The program crashed for no reason , Then no one will monitor the program , So I wrote another one monitorB, first monitor Let's call it monitorA. The two monitor each other , Once any one collapses , Then run it .
It's a bit like rogue software , Or say auturun Viruses . But there's no way , This is the only way .
版权声明
本文为[delacrxoix_ xu]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204212001344132.html
边栏推荐
- 系列文章分类汇总(第二期)
- 87 r K-means, hierarchical clustering, implementation of EM clustering
- Signal to noise ratio and signal to interference noise ratio
- A collection of large factories and face classics. Do you know these knowledge points
- JDBC方法参数详解 DriverManager,Statement,Connection,ResultSet,PreparedStatement
- MySQL stored procedure usage -- including exercises
- [fundamentals of interface testing] Part IV - interface testing process and interface document analysis
- Iotdb permission management
- Developing Cami community system with ThinkPHP
- MySQL Cluster Solution
猜你喜欢

7.6 线程属性

JS notes data type judgment

339 leetcode word rules

LeetCode_ 70 climb stairs

LeetCode_ 746 climbing stairs with minimum cost

LeetCode_ 509 Fibonacci number

【接口测试基础】第三篇 | 传统风格接口与RESTful风格接口区别

vmware-vmx. Exe could not end the process

How JMeter sets parameterization

leetcode:440. The k-th smallest digit in dictionary order
随机推荐
The difference between IAAs, PAAS and SaaS
leetcode:386. 字典序排数
信噪比和信干噪比
leetcode:271.字符串的编码与解码
入参有汉字,报错500,服务器内部错误
Multi table view creation problem: modify view data times 1062
Pytorch (V) -- Notes
(Reprinted) MySQL ha
【接口测试基础】第五篇 | 接口用例设计详解
Difference between breadth first notes and breadth first notes
339-Leetcode 单词规律
7.9 thread mutex
Wechat server configuration
JS notes data type judgment
Leetcode每日一题824. 山羊拉丁文
What is the difference between machine learning, deep learning, neural network and deep neural network?
MySQL stored procedure usage -- including exercises
TextView 倾斜属性
A collection of large factories and face classics. Do you know these knowledge points
How to set the motion stroke and angle in SolidWorks