In Windows API, everything is going like this:
There's a message loop. the message loop checks if there's any messages in message queue. messages like a click on an item, a keystroke from keyboard or a time message. If there's any, the message loop sends that message to an appropriate message-processing function. The loop continues checking and sending messages forever (until a it gets a close message).
This is the how windows works.
How does Ubuntu Linux work? Does it have a similar process? If so, can you give me a simple program with a message loop?
Bookmarks