Commit f7e7e079 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Disable cancellation everywhere (except in msg_Dbg) to start with

parent 2ec60e08
......@@ -640,13 +640,16 @@ static void *thread_entry (void *data)
vlc_object_t *obj = ((struct vlc_thread_boot *)data)->object;
void *(*func) (vlc_object_t *) = ((struct vlc_thread_boot *)data)->entry;
int canc;
free (data);
#ifndef NDEBUG
vlc_threadvar_set (&thread_object_key, obj);
msg_Dbg (obj, "thread started");
canc = vlc_savecancel ();
func (obj);
vlc_restorecancel (canc);
msg_Dbg (obj, "thread ended");
return NULL;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment