Posts

Showing posts with the label glib

Glib resume

Image
Glib resume Table of Contents Overview of Glib Glib's main event loop Threads Asynchronous Queues Dynamic loading of Modules Memory Management IO Channels 1 Overview of Glib The fully glib document was located in the glib website. This article is nothing but just repeat what I learned from above website. Or I consider this as an echo from mystery valley, because Glib is excellent, which provided both portability and elegant solution for the cross-system programer, it should be my base utilities in my daily programming life. 2 Glib's main event loop I think the main event loop is the heart of the glib library, and it is the most import part of this library. So why? Because the event loop engine is always the critical and basic part of the architecture of a project. There are many paradigms of the architecture of event loop. Glib is based on reactor model which is also the most popular and developer friendly paradigm. A reactor model can be sep...