X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02761f6cd478e3c2c97cf6f93442747f7b029833..4b263e5ef358411a345dee9ffef3ba69c19be40e:/src/gtk1/threadsgi.cpp diff --git a/src/gtk1/threadsgi.cpp b/src/gtk1/threadsgi.cpp index 8f49d94a32..830c0eb1d2 100644 --- a/src/gtk1/threadsgi.cpp +++ b/src/gtk1/threadsgi.cpp @@ -4,7 +4,6 @@ // Author: Original from Wolfram Gloger/Guilhem Lavaux // Modified by: // Created: 04/22/98 -// RCS-ID: $Id$ // Copyright: (c) Wolfram Gloger (1996, 1997); Guilhem Lavaux (1998) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -66,7 +65,9 @@ wxMutex::wxMutex() wxMutex::~wxMutex() { if (m_locked > 0) + { wxLogDebug( "wxMutex warning: freeing a locked mutex (%d locks)\n", m_locked ); + } delete p_internal; } @@ -124,7 +125,7 @@ void wxThreadPrivate::SprocStart(void *ptr) thr->p_internal->thread_id = getpid(); thr->p_internal->exit_status = 0; - status = thr->Entry(); + status = thr->CallEntry(); thr->Exit(status); }