Run loop are part of the basic infrastructure associated with threads. A Run loop is a event processing loop that you use to schedule work and communicate the incoming events. If there is no work to do thread goes to sleep. Run loop management is not automatic you have to write your own thread code to start the run loop at proper time and response to incoming events.
Cocoa and Core Foundation provides run loop objects to configure and manage thread 's run loop. Application does not need to create run loop objects application main thread and other thread has associated run loop object.The application framework automatically set up and run the run loop on the main thread at startup process.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Run loop are part of the basic infrastructure associated with threads. A Run loop is a event processing loop that you use to schedule work and communicate the incoming events. If there is no work to do thread goes to sleep. Run loop management is not automatic you have to write your own thread code to start the run loop at proper time and response to incoming events.
Cocoa and Core Foundation provides run loop objects to configure and manage thread 's run loop. Application does not need to create run loop objects application main thread and other thread has associated run loop object.The application framework automatically set up and run the run loop on the main thread at startup process.