One 、TaskScheduler Class action

1, It's part of the environment .

2, He provided the right information socket Management of triggering events .

Two 、 class TaskScheduler Inheritance diagram

Two 、TaskScheduler Member functions

1,scheduleDelayedTask() Plan to delay the mission , When you arrive at the next planned task point, you will perform this task . If parameters microseconds<=0 Means no delay . Back for the next unscheduleDelayedTask() The calling task ID .

2,unscheduleDelayedTask(). Cancel the plan, delay the task .

3,rescheduleDelayedTask(). It's a combination of the first two functions . Is to reset the task to a new task ID .

live555 Source code research ( Two )------TaskScheduler Class

  1. Chrome Bring your own dinosaur game source research ( Two )

    In the last article <Chrome Bring your own dinosaur game source research ( One )> The drawing and movement of the ground are realized in , This article focuses on cloud rendering . Clouds are drawn through Cloud Constructor complete .Cloud The implementation code is as follows : Cloud.co ...

  2. live555 Source code research ( 5、 ... and )------DynamicRTSPServer class

    One . class DynamicRTSPServer effect 1, Provide RTSP service Two . class DynamicRTSPServer Inheritance diagram

  3. live555 Source code research ( Four )------UserAuthenticationDatabase class

    One .UserAuthenticationDatabase Class action 1, user / Password management 2, Authentication management Two . class UserAuthenticationDatabase Inheritance diagram                 ...

  4. live555 Source code research ( 3、 ... and )------UsageEnvironment class

    One .UsageEnvironment Class action 1, Recycle the current environment when not in use . 2, Maintenance of returned result messages and error messages . Two . class UsageEnvironment Inheritance diagram

  5. live555 Source code research ( One )------live555MediaServer The startup process and basic class diagram of

    live555MediaServer.cpp Namely live555 The process of starting the server . One . The boot process 1, Construct the running environment , The operating environment includes TaskScheduler 2, Construct authentication data , That is, login user name and password, etc ...

  6. Nginx Source code research II :NGINX An introduction to event handling in

    NGINX As a server application , After the client sends the data , The server is doing some processing , The data will go through the network card first , The network card will interact with the operating system , After the protocol stack processing of the operating system , And interact with different applications . There are two concepts involved in this , One is ...

  7. live555 Source code research ( Ten )------ Problems encountered in the compilation process and solutions

    One . compile testOnDemandRTSPServer.cpp. stay testProgs In the project , Join in testOnDemandRTSPServer.cpp Compile , A compilation type is a compilation into exe file , During the compilation process ...

  8. Mina Source code research

    Catalog 1. NioSocketAcceptor Initialization source code research 1.1 Class diagram 1.2 Method call sequence diagram 1.3 initialization NioSocketAcceptor 1.4 SimpleIoProcessorPool ...

  9. Chrome Bring your own dinosaur game source research ( 3、 ... and )

    In the last article <Chrome Bring your own dinosaur game source research ( Two )> Cloud rendering and moving are realized in , This article focuses on how to make the game alternate day and night . The effect of the alternation of day and night is mainly achieved through the style , But the timing of style changes is controlled by scripts . ...

Random recommendation

  1. UITableView cell Reuse error problem The problem of page sliding and blocking &amp; All sorts of problems

    UITableView Of cell Reuse mechanism saves memory , But sometimes for the changeable customization cell, There are interface errors when reusing ( For example, the reuse error , appear cell Chaos ghost ). Sliding, stuck, etc , Here are just a few simple solutions to reuse errors ...

  2. Annotation based Spring AOP Example

    Annotation based Spring AOP Example Catalog stay XML Open... In the configuration file @AspectJ Support Statement aspect and entry point Notice of declaration test Conclusion stay XML Open... In the configuration file @AspectJ Support To use Spring Of A ...

  3. The website is configured , You can log in to the system locally , But hanging on IIS You can't log in on , Prompt database connection error

    I am using VS2010 Developed website , But it's on this machine IIS I can't log in when I'm on the Internet , The error is as follows :

  4. MyEclipse Use SVN Project version control

    One . build SVN The server . for example , Use VisualSVN Server, Download and install . (1) stay Repositories( Version Library ) Right click on , newly build Repository, choice Regular FSFS reposi ...

  5. C++ Code segment six

    Excerpt from <Primer Plus> Advantages and disadvantages of floating point numbers : void test109() { float a=2.34E+22f; float b=a+1.0f; cout<<"a ...

  6. myDatePinker The set start time cannot be greater than the end time

      From the time of operation :  <input type="text" name="startTime" id="startTime" style=& ...

  7. 9、Cocos2dx 3.0 Game development three search value small factory method mode and object

    Focus on the fruits of the developer's labor , Please note the source when reprinting :http://blog.csdn.net/haomengzhu/article/details/27704153 Factory method model The factory method is a part of programming ...

  8. MVC The source code parsing - Http Pipeline analysis ( Next )

    Connected to a , I am here HttpModule Of Init In the method , Add your own events , stay Pipeline in , Will grasp the registered event to execute .  that Pipeline How and in what order ? Now we ...

  9. pygame The snake

    python Xiaobai tries to write a game .. I learned a little pygame I don't know what it's like to practice , Start with the snake . A game can be roughly divided into two parts : data ( Variable ) Processing data ( function , Method ) Design variables First, imagine , Those parts of the picture need to be ...

  10. CentOS install Python3.x common problem

    CentOS 6.x Self contained Python The version is 2.6,CentOS 7.x It comes with 2.7, We need to install it ourselves Python3.X, Configuration environment , However, the general installation process will not be smooth , There are always some mistakes , stay CentOS And other things ...