* Added source file info in utils/serialize/*

* Added Windows support in dynlib.cpp (not tested)
* Added some operator in wxStream
* Added a mutex in thread sample (more later)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux
1998-08-05 17:12:43 +00:00
parent e1a6fc11e2
commit 123a7fddb8
15 changed files with 180 additions and 13 deletions

View File

@@ -35,6 +35,8 @@ class MyApp: public wxApp
bool OnInit(void);
};
wxMutex text_mutex;
WX_DEFINE_ARRAY(wxThread *,wxArrayThread);
// Define a new frame type
@@ -83,7 +85,9 @@ void *MyThread::Entry()
while (1) {
TestDestroy();
text_mutex.Lock();
m_frame->m_txtctrl->WriteText(text);
text_mutex.UnLock();
wxSleep(1);
}