[root] / trunk / core / thread / inc / TCondition.h Repository:
ViewVC logotype

Log of /trunk/core/thread/inc/TCondition.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

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 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/thread/inc/TCondition.h
File length: 2327 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/thread/inc/TCondition.h
File length: 2327 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/thread/inc/TCondition.h
File length: 2377 byte(s)
Diff to previous 16824
remove :$ from tag line

Revision 16824 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 20 10:02:00 2006 UTC (8 years, 2 months ago) by rdm
Original Path: trunk/thread/inc/TCondition.h
File length: 2387 byte(s)
Diff to previous 15134
make copy ctor and assignment operator private and not implemented.

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 15017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 13 11:00:50 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/thread/inc/TCondition.h
File length: 2337 byte(s)
Diff to previous 10875
From Federico:
More headers changed to facilitate the use of the gcc option weffc++

Revision 10875 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 5 01:55:13 2005 UTC (10 years ago) by rdm
Original Path: trunk/thread/inc/TCondition.h
File length: 2255 byte(s)
Diff to previous 10787
change TCondition::TimedWait(ULong_t ms), the relative time version,
to TimedWaitRelative(ULong_t ms) to avoid confusion with the absolute
time version TimedWait(ULong absSec, ULong_t absNanoSec).

Revision 10787 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 12:33:40 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/thread/inc/TCondition.h
File length: 2247 byte(s)
Diff to previous 10748
add TCondition::TimedWait() that takes a relative wait time in milliseconds.

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."

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/thread/inc/TCondition.h
File length: 2076 byte(s)
Copied from: branches/rdm/thread/inc/TCondition.h revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/thread/inc/TCondition.h
File length: 2076 byte(s)
Initial import of ROOT into CVS

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9