Vadim Zeitlin
f922638305
Added wxThread::GetMainId().
...
This is useful for checking if a message was logged from the main thread or not and also allows us to implement IsMain() by comparing GetCurrentId() with GetMainId() in all ports and avoid repetition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-11 20:46:55 +00:00
Francesco Montorsi
db034c5228
document that locking a wxMutex or a wxCriticalSection twice from the same thread doesn't result in a deadlock
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-08 12:56:48 +00:00
Francesco Montorsi
3a5677401f
name wxThreadEvent and YieldFor in wxProgressDialog and in thread overview; update the sample code to use new event macros; minor other changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 19:32:00 +00:00
Francesco Montorsi
ae93dddfaf
remove mention of wxMutexGuiEnter/leave from the multithreading topic overview; document that wxMutexGuiEnter only works for wxMSW as the code seems to confirm this (see #10366 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:24:27 +00:00
Francesco Montorsi
382f12e419
many automated ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 22:42:09 +00:00
Bryan Petty
b21126db7a
Replaced @ingroup with @addtogroup for all global func/macros for use with Doxygen 1.5.7+.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-05 20:48:06 +00:00
Francesco Montorsi
c6427d4da4
mention multi-core systems and wxThread::GetCPUCount
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-20 21:26:25 +00:00
Francesco Montorsi
9eab0f6c3a
don't remove docs for wxThreadHelper::Create; list it in deprecated methods changelog section
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-16 19:44:49 +00:00
Francesco Montorsi
a5cc517ff6
make wxThread::OnExit private and not public (change tested on wxMSW and wxGTK)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 17:24:00 +00:00
Francesco Montorsi
5159e01481
added GetKind getter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 16:40:14 +00:00
Francesco Montorsi
848f8788e9
fix the examples for wxThread and wxThreadHelper after field-testing on wxMSW and wxGTK; add a note to wxThread::Run about detached threads; fix the note for wxThread::Delete wrt joinable threads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-25 00:28:15 +00:00
Francesco Montorsi
5cba3a2548
documented ExitCode typedef; revised wxThread and wxThreadHelper docs, also adding two usage examples; remove useless comment added by error in previous commits; linked threading overview from wxThread
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 00:09:23 +00:00
Francesco Montorsi
4ccf056633
interface fixes; removed many functions which were deprecated in past and have already been removed from wx; renamed others wrongly named; added some @onlyfor tags to avoid false warnings in ifacecheck logs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:37:43 +00:00
Francesco Montorsi
5267aefd85
automated ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 15:34:31 +00:00
Francesco Montorsi
50ec54b656
other ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 21:18:55 +00:00
Francesco Montorsi
7323ff1aee
other ifacecheck fixes, resulting in removal of the non-existing functions wxDatagramSocket::ReceiveFrom() and wxCloseEvent::SetForce()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 17:12:27 +00:00
Francesco Montorsi
551266a969
access-specifier fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 11:29:37 +00:00
Francesco Montorsi
78e87bf7b8
remaining t*h interface revisions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 11:55:28 +00:00
Francesco Montorsi
adaaa68635
HUGE commit of ifacecheck-automated fixes to virtualness/constness/staticness of wxWidgets documented functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 11:21:10 +00:00
Robert Roebling
424c9ce771
Made wxMSW wxMutex non-recursive by checking reentrance
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:54:09 +00:00
Robert Roebling
9c5313d170
Formating corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:26:28 +00:00
Robert Roebling
0dd8898753
More wxMutex doc updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:16:36 +00:00
Robert Roebling
3ad41c280f
Add wxCRITSEC_DEFAULT and NON_RECURSIVE styles, updated and restored wxThread and related docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:06:07 +00:00
Bryan Petty
12f5e1e78f
Commit 3 of 3 for Doxygen path fixes, this one finally removes all 600+ unnecessary uses of @wxheader and @headerfile.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 18:00:03 +00:00
Bryan Petty
ae3c17b401
Moved all interface headers into a 'wx' subdirectory for proper use of Doxygen path settings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 16:22:58 +00:00