Real-Time Apps
摘要
Events happen, all the time. A program handles events that are happening within a process or a thread, but also the events that are beyond its control or scope—network events, CPU events, user input events, timers, garbage collection, and much more. While you cannot handle all the events—errors in an underlying native library, or when system goes out of memory—you do receive notifications, and your program can use this information to make an informed decision.