# HG changeset patch # User jwe # Date 1162483134 0 # Node ID 1504e68cf080bd69609072dd12a28fe2d97bb603 # Parent 3010a2ecde0bf89dbb61be1efe4e01768f77eebc [project @ 2006-11-02 15:58:54 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-11-02 Michael Goffioul + + * sysdep.cc (MSVC_init): Also cal w32_sigint_init and + w32_set_quiet_shutdown. + 2006-11-01 John W. Eaton * ov.h (octave_value::idx_type_value): New function. diff --git a/src/sysdep.cc b/src/sysdep.cc --- a/src/sysdep.cc +++ b/src/sysdep.cc @@ -180,6 +180,11 @@ MSVC_init (void) { w32_set_octave_home (); + + // Init mutex to protect setjmp/longjmp and get main thread context + w32_sigint_init (); + + w32_set_quiet_shutdown (); } #endif