title: Clarification required on GMainContext and GMainLoop
body: <p>I am getting started with Glib, GmainContext, GMainLoop, GObject, etc. but am trying to understand the underlying implementation. I understand select, poll, epoll, the main event loop, etc and have written C programs (without Glib) which use them.</p>
  
  <p>I am trying to co-relate GmainContext and GMainLoop to these primitives. Is GmainContext a loop as described in a few articles such as <a href="https://tecnocode.co.uk/2014/03/27/what-is-gmaincontext/" rel="nofollow noreferrer">this</a>? If so, how does it differ from GMainLoop? It appears that GmainContext is where most of the work is done.  </p>
  
  <p>Please clarify and/or provide references.  </p>