Use a condition variable to signal that runaway killer thread is ready
authorDavid Zeuthen <davidz@redhat.com>
Thu, 24 May 2012 15:39:57 +0000 (11:39 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Thu, 24 May 2012 15:39:57 +0000 (11:39 -0400)
commit2ec9e681e0ee17bcc60a0724b201b2e19b573abb
tree649d4441fb1f768c1ef148d5abeee974f28aef8a
parentbe4c87252e8031c3427ca14ad036981f09fd6369
Use a condition variable to signal that runaway killer thread is ready

... instead of the unsafe g_thread_yield() busy-wait loop.

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/polkitbackend/polkitbackendjsauthority.c