Changeset a902ebb for logging.c


Ignore:
Timestamp:
Oct 29, 2012, 11:19:40 PM (9 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Parents:
9b3167b (diff), 0792d99 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:
Merge 0792d99eb4637636b607b9c1579c0b5e97de6a20 into 9b3167b9c2d41734807e20045328812b089538e5
File:
1 edited

Legend:

Unmodified
Added
Removed
  • logging.c

    r0a9ffc5 r0792d99  
    436436void owl_log_init(void)
    437437{
     438  log_context = g_main_context_new();
     439#if GLIB_CHECK_VERSION(2, 31, 0)
     440  logging_thread = g_thread_new("logging",
     441                                owl_log_thread_func,
     442                                NULL);
     443#else
    438444  GError *error = NULL;
    439   log_context = g_main_context_new();
    440445  logging_thread = g_thread_create(owl_log_thread_func,
    441446                                   NULL,
     
    448453    exit(1);
    449454  }
     455#endif
    450456 
    451457}
Note: See TracChangeset for help on using the changeset viewer.