Log of /trunk/core/thread/inc/TThreadImp.h
Parent Directory
Revision
22961 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by
rdm
File length: 2220 byte(s)
Diff to
previous 20882
move the directories:
base clib cont meta metautils newdelete pcre rint thread unix utils
winnt zip
under the new core meta directory.
Revision
10774 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 14 15:06:18 2004 UTC (10 years, 1 month ago) by
rdm
Original Path:
trunk/thread/inc/TThreadImp.h
File length: 2279 byte(s)
Diff to
previous 10748
several important changes and fixes:
- remove dependence on direct G__xxx CINT code, since CINT is not
reentrant there is no change we can currently run interprered function
as thread functions. This avoids also usage of the CINT lock in
the thread code which could lead to deadlocks when threads were
created in a constructor of an object created via the plugin manager
(which uses CINT to execute the ctor).
- added thread safe versions for the DoError() and ErrorHandler() functions
which allows TThread::Info() and family to be called from threads.
Idem for the Printf() function.
- by Maarten, added a join helper thread that will avoid the main thread
from blocking while doing a join and thereby not being able to process
events or handle messages sent from the threads via the XARequest
method.
- fix several memory leaks (valgrind).
Revision
10748 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 10 12:13:33 2004 UTC (10 years, 1 month ago) by
rdm
Original Path:
trunk/thread/inc/TThreadImp.h
File length: 2411 byte(s)
Diff to
previous 1887
From Maarten and me:
Changelog:
- Fixed a problem with TSemaphore where the owner of the lock in
the associated TMutex was not properly updated by the low level
pthread_cond_wait relock. (always remember our TMutex in TCondition)
- Unify thread ID's as Long_t
- Simplify and regularize TThread::Join(). Join with a thread based on
tid or TThread *, hide implementation more cleanly, remove unnecessary
member functions and variables (fJoinId et al)
- Make TThread::Ps() static (easier from cmd line)
- Use -1 iso 0 for unknown thread id as 0 is a valid value
- add more error checking in lots of places
- move gContainerMutex and gCINTMutex initialisation with the rest of
the one time init bunch.
- Simpify Exists()
- Lock *all* access to the global thread list
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.