mobile/System.dll: Add BindingList<T>
[mono.git] / mono / mini / mini-posix.c
index 605a1ff088f80942d573dddded5c4ab02ae4dbd1..d03e1147d4fbe22ac33732640d42cca4637fc6cb 100644 (file)
@@ -208,10 +208,12 @@ SIG_HANDLER_SIGNATURE (sigusr1_signal_handler)
        
        GET_CONTEXT;
 
-       if (!thread || !domain)
+       if (!thread || !domain) {
                /* The thread might not have started up yet */
                /* FIXME: Specify the synchronization with start_wrapper () in threads.c */
+               mono_debugger_agent_thread_interrupt (ctx, NULL);
                return;
+       }
 
        if (thread->ignore_next_signal) {
                thread->ignore_next_signal = FALSE;