title: Compiling w/glib2.0 on Ubuntu, I get g_thread_supported assertion failed
body: <p>I thought GNU threads would be available when I install GLib, but maybe something is wrong? Here is how I installed glib on Ubuntu:</p>
  
  <pre><code>sudo apt-get install libglib2.0-dev 
  </code></pre>
  
  <p>When I run my code, it calls g_thread_pool_create, and glib says:</p>
  
  <pre><code>(process:22232): GLib-CRITICAL **: g_thread_pool_new: assertion `g_thread_supported ()' failed
  </code></pre>
  
  <p>Mind you my code definitely compiles and links just fine. It's just the assertion that's failing when I call <code>g_thread_pool_new</code>, and subsequently when I call <code>g_thread_pool_push</code>.</p>