-/* Internal function: initialize the interrupt handling system. */
-void
-interrupt_init()
-{
- abort_lock = g_mutex_new();
-}
-
-/* Internal function: free the resources allocated in interrupt_init(). */
-void
-interrupt_free()
-{
- g_mutex_lock(abort_lock);
- /* Make sure no other thread is busy with this */
- g_mutex_unlock(abort_lock);
- g_mutex_free(abort_lock);
- abort_lock = NULL;
-}