Scheduler: made scheduled signals thread specific
authorPekka Riikonen <priikone@silcnet.org>
Wed, 1 Oct 2008 17:21:53 +0000 (20:21 +0300)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 1 Oct 2008 17:21:53 +0000 (20:21 +0300)
commit50c7d0d8c918d275751c9263cb64b6a3e847db67
treeca6f96efae2de8af074f88c2139bba4e5bc0f552
parentabc4156464a66d9961da10b9882df8c32cdc6164
Scheduler: made scheduled signals thread specific

Previous implemenation used global structure to hold scheduled signal.
If some other thread created new scheduler it reset all the signals,
possibly unscheduling signals that should have been called.  Now they
are thread specific.
lib/silcutil/unix/silcunixschedule.c