idle: migrate from pthread to glib threads

This commit is contained in:
Thomas Jansen
2008-12-28 21:02:14 +01:00
parent 5e3dc6946f
commit 8332a70406
3 changed files with 35 additions and 6 deletions

View File

@@ -268,6 +268,7 @@ int main(int argc, char *argv[])
/* enable GLib's thread safety code */
g_thread_init(NULL);
idle_init();
initConf();
parseOptions(argc, argv, &options);
@@ -382,6 +383,7 @@ int main(int argc, char *argv[])
music_pipe_free();
cleanUpPidFile();
finishConf();
idle_deinit();
close_log_files();
return EXIT_SUCCESS;