Log of /trunk/core/thread/inc/TCondition.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: 2327 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
15134 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by
brun
Original Path:
trunk/thread/inc/TCondition.h
File length: 2349 byte(s)
Diff to
previous 15017
From Federico Carminati:
"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."
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/TCondition.h
File length: 2218 byte(s)
Diff to
previous 5726
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
Revision
5726 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 3 16:44:25 2002 UTC (12 years, 1 month ago) by
brun
Original Path:
trunk/thread/inc/TCondition.h
File length: 2155 byte(s)
Diff to
previous 3
From Mathieu de Naurois <denauroi@in2p3.fr>
"From the manual of pthread_cond_timedwait, I have:
pthread_cond_timedwait atomically unlocks mutex and waits on
cond, as pthread_cond_wait does, but it also bounds the duration
of the wait. If cond has not been signaled within the amount
of time specified by abstime, the mutex mutex is re-acquired
and pthread_cond_timedwait returns the error ETIMEDOUT.
The abstime parameter specifies an absolute time, with the same
origin as time(2) and gettimeofday(2): an abstime of 0
corresponds to 00:00:00 GMT, January 1, 1970.
In the code of ROOT, the line:
while (fgXAct) {fgXActCondi->TimedWait(1);}
was a nonsense that it equivalent to :
while(fgXAct);
and it uses 100% of CPU.
I modified the TThread class in the version we use for HESS.
For us, in a heavily multithreaded DAQ, this modified version works fine
and is faster when opening canvases from threads."
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.