A method of hanging time control in thread
A time-controlled, threading technology, applied in the direction of multi-programming device, program startup/switching, creating/generating source code, etc., can solve the problems of thread blocking, inability to process other messages or transactions, etc., and achieve the effect of simple and reliable principle
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0049] The present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that the described embodiments are for the purpose of illustration only, and do not limit the scope of the present invention.
[0050] to combine figure 1 — image 3 , the present invention includes the following processing steps:
[0051] Step 1, create a process time control queue timerList, hang the time control function setTimer_Thread, and time control response function timerFunction.
[0052] Each time control item in the time control queue timerList contains two time control attributes, the time control attribute one is used to indicate the thread ID, and the time control attribute two indicates the time attribute ID; in the timerList, each time control item arrives in sequence according to the time control Arranged sequentially.
[0053] The detailed data information stored in the time-controlled queue timerList is shown in Table 1:
[005...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


