Changeset 08e9842 for owl.c


Ignore:
Timestamp:
May 23, 2011, 8:57:46 PM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
dc1edbd
Parents:
6bd485e
git-author:
David Benjamin <davidben@mit.edu> (03/02/11 13:34:33)
git-committer:
David Benjamin <davidben@mit.edu> (05/23/11 20:57:46)
Message:
Cleanly destroy the signal thread on shutdown

This isn't strictly necessary here, but we should probably be in the
habit of safely cleaning up our helper threads.

Switch the implementation from GThread to pthreads directly. The
cleanest way to kill a signaling thread is to send it SIGTERM with
pthread_kill, but GThread doesn't expose that and gives no way to get at
the pthread_t.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r6bd485e r08e9842  
    620620  /* Shut down everything. */
    621621  owl_zephyr_shutdown();
     622  owl_signal_shutdown();
    622623  owl_shutdown_curses();
    623624  return 0;
Note: See TracChangeset for help on using the changeset viewer.