http://en.wikipedia.org/wiki/Event_loop
Usage[edit]
Due to the predominance of graphical user interfaces, most modern applications feature a main loop. The
get_next_message() routine is typically provided by the operating system, and blocks until a message is available. Thus, the loop is only entered when there is something to process.function main
initialize()
while message != quit
message := get_next_message()
process_message(message)
end while
end function
비동기I/O
http://en.wikipedia.org/wiki/Asynchronous_I/O
댓글 없음:
댓글 쓰기