Alarm signal processing method based on information queue
A technology of alarm signals and processing methods, applied in the direction of program control devices, etc., can solve problems affecting real-time performance, resource blocking, and affecting the real-time performance of caller programs, and achieve the effect of maintaining real-time performance and realizing synchronous control
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] The present invention will be described in further detail below in conjunction with the accompanying drawings and preferred embodiments of the present invention.
[0017] figure 1 It is the alarm process or thread processing flowchart of the present invention. First create an object for alarm queue access and alarm node synchronous control, then judge whether the alarm queue is empty, if it is empty, wait until there is a signal to join the alarm node, otherwise judge whether the alarm node queue is locked, if If it is locked, wait until there is an alarm queue to unlock, otherwise lock the alarm node, take out the alarm node and unlock it, then alarm according to the pre-specified method, and delete the alarm node after alarming. After the alarm event is processed, suspend the alarm process or thread, wait for the signal of a node to be generated, and continue to process the alarm event.
[0018] figure 2 It is a user process or thread usage flowchart of the presen...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 