Vadim Zeitlin
0d2c74c6ef
use WX_DEFINE_ARRAY_PTR for anarray of pointers (fixes Sun CC warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-13 15:58:50 +00:00
Vadim Zeitlin
4f66d445e1
fixed -Wundef warning for HAVE_SCHED_H
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 12:11:14 +00:00
Vadim Zeitlin
816a7358d3
test for wxHAVE_PTHREAD_CLEANUP with #ifdefs instead of testing for (never defined) HAVE_THREAD_CLEANUP_FUNCTIONS with #if
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 01:06:36 +00:00
Julian Smart
e61ec95a3c
stopwatch.h needed for wxGetLocalTimeMillis
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 09:10:35 +00:00
Robert Roebling
343b1669f3
Set state of internal thread object upon ::Exit
...
to EXITED. This is consistent with MSW and
fixes a crash with double deletion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 17:55:20 +00:00
Vadim Zeitlin
cf25117b67
fixed warning about deprecated wxUsleep
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-08 19:02:01 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Robin Dunn
5b65f1364d
If the threads module hasn't been initialized yet then we can assume
...
the IsMain == true. This allows wxASSERTs that happen before the
wxApp is created (as can easily happen in wxPython unfortunatly) to
behave normally instead of just calling wxTrap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 19:59:18 +00:00
Robert Roebling
76a6e80383
Applied patch for Intel compiler.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 15:43:19 +00:00
Vadim Zeitlin
5031200a24
added missing _T()s in wxLogTraces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 22:15:57 +00:00
Vadim Zeitlin
ef4f69ec32
cleaned up VMS #ifdef mess
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 00:29:31 +00:00
Václav Slavík
c80217d107
wxMutexGuiEnter/Leave didn't work because this file is compiled with wxUSE_GUI=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:59:13 +00:00
Václav Slavík
2be028e23c
reverted previous commit; include wx/timer.h in wxBase instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:30:16 +00:00
Václav Slavík
d5b12ad9a7
wxBase compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:20:51 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
50ef440170
undid patch which was supposed to allow thread recreation and added instead an assert preventing it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-08 23:38:05 +00:00
Robert Roebling
6d18407fa4
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 08:52:14 +00:00
Julian Smart
1dfc3cda6e
Setting state to STATE_NEW in wxThread::Create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 20:51:09 +00:00
Václav Slavík
707a378282
compilation fix for gcc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:37:20 +00:00
Vadim Zeitlin
1d2e5548c4
UnixWare compilation fix (explicitly declare pthread_mutexattr_settype)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:53:37 +00:00
Vadim Zeitlin
918dc51991
fixes return values of wxSemaphore::TryWait() and WaitTimeout() to behave as documented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 00:43:28 +00:00
Vadim Zeitlin
9ec1ed2a7e
corrected the test for number of processors under Linux
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 13:00:04 +00:00
Vadim Zeitlin
de628f984b
fixed bug in wxSemaphore::WaitTimeout() which was calling the wrong wxCondition::Wait() (bug 642226 and patch 648859)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-06 23:47:34 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Robert Roebling
401eb3dec2
Lots of Unix/Unicode compile fixes, some of which
...
are just #ifdef 0 such as the wxExecute calls
in gdcps.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-05 18:04:08 +00:00
Julian Smart
7bfe6a32e0
Applied patch from Mark Armstrong <marka@availsolutions.com>
...
Allows you to set a thread priority under Linux.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:04:17 +00:00
Vadim Zeitlin
9e84b84742
wxMutex changes (explicitly specify the type), return values for all wxMutex/wxSemaphore/wxCondition methods and general cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:31:59 +00:00
Vadim Zeitlin
c112e10026
changed wxCondition API to take a reference, not pointer, to wxMutex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 15:37:57 +00:00
Vadim Zeitlin
cd10339a23
compilation fixes for the recent commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 13:22:56 +00:00
Vadim Zeitlin
be80986891
added wxSemaphore (with docs), new version of wxCondition and bug fixes to wxThread (patch 538242 by K.S. Sreeram)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 13:15:16 +00:00
Jouk Jansen
df744f4d6d
Committing in .
...
Various patches to get the current CVS compile on OpenVMS
Modified Files:
wxWindows/setup.h_vms wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/app.cpp wxWindows/src/unix/threadpsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 14:41:48 +00:00
Vadim Zeitlin
60ce696e26
made wxCondition::Signal() queue the signals generated while there were no waiters and documented this behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 15:43:37 +00:00
Vadim Zeitlin
8d5eff606a
attempts to make wxCondition::Broadcast() and Signal() work simultaneously - currently they do but something else doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 19:11:54 +00:00
Vadim Zeitlin
547b93ab04
attempts to make wxCondition::Broadcast() work - it still doesn't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 22:49:13 +00:00
Jouk Jansen
a7aef4a92a
Committing in .
...
update OpenVMS compile support
Modified Files:
wxWindows/setup.h_vms wxWindows/include/wx/thread.h
wxWindows/src/common/descrip.mms
wxWindows/src/common/iffdecod.cpp
wxWindows/src/unix/threadpsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 15:07:55 +00:00
Robin Dunn
1fcfb40de3
wxThread::GetCurrentId() for Unix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 06:30:27 +00:00
Vadim Zeitlin
295272bdcd
more Sun C++ compiler warning fixes: in particular, added an ugly but
...
necessary workaround for avoiding warning in the .xpm files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 19:33:37 +00:00
Vadim Zeitlin
903506828b
fixes for the compilation warnings with Sun CC:
...
1. some fixes for "String literal to char * conversion" warnings (many
more left in the *.xpm files)
2. fixes for "assignment of function to extern "C" function"
3. a few other miscellaneous ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 12:49:12 +00:00
Ron Lee
6fe7378863
Added (and documented :) optional stack size specification for wxThread.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 05:53:39 +00:00
Jouk Jansen
13d068d93e
Committing in .
...
Modified Files:
wxWindows/include/wx/thread.h wxWindows/src/unix/threadpsx.cpp
Changed for OPenVMS only
problem: The compiler complained about the fact that some pointer were
assigned to a smaller integer. Maybe this problems also holds for
other 64-bit OS's
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 11:10:29 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Vadim Zeitlin
d9b9876f6e
fixed recursive mutexs compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-09 13:25:04 +00:00
Vadim Zeitlin
7a56de34ab
made mutexes recursive under Unix as well as under Win32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-08 22:49:09 +00:00
Vadim Zeitlin
b18cfdd9bd
wxThread::Kill() doesn't call OnExit() incorrectly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 17:39:18 +00:00
Stefan Neis
6f837e5cc0
Added #ifdef HAVE_SCHED_YIELD
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 23:41:25 +00:00
Vadim Zeitlin
88e243b29f
warnings/linking fixes for wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 17:53:44 +00:00
Vadim Zeitlin
d5fc46616d
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 10:55:14 +00:00
Vadim Zeitlin
9c2882d9e1
1. misc compilation (errors, warnings) fixes (from the build logs)
...
2. fixed a bug in wxGTK::wxGetResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-26 21:52:50 +00:00
Jouk Jansen
fb10f04c95
Committing in .
...
Patches for VMS
Modified Files:
wxWindows/setup.h_vms wxWindows/include/wx/image.h
wxWindows/src/common/datetime.cpp
wxWindows/src/common/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/unix/threadpsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 13:19:09 +00:00