diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-04-19 02:44:14 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-04-19 02:44:14 +0000 |
commit | 52a0c977a0aa9eb7b510c24b8ec1d160a046192c (patch) | |
tree | 973558bfe7c06cd9514002fa06431190c28c460d /queue_loop.c | |
parent | 498b16f7df5d92439ff87f94b8fa4fd87fab71b3 (diff) | |
download | cmogstored-52a0c977a0aa9eb7b510c24b8ec1d160a046192c.tar.gz |
Since we already depend on many GCC extensions, we'll prefer __thread to the more portable pthread_*-variants since it's easier-to-use and read. clang also supports this GCC extension and we've always depended on __thread for random state, anyways.
Diffstat (limited to 'queue_loop.c')
-rw-r--r-- | queue_loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/queue_loop.c b/queue_loop.c index f3868c1..0ed144e 100644 --- a/queue_loop.c +++ b/queue_loop.c @@ -45,6 +45,7 @@ static void queue_loop_cleanup(void *arg) } while (mfd); } + mog_alloc_quit(); syslog(LOG_DEBUG, "mog_queue_loop[%lx] thread done", self); } |