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

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

Parent Directory Parent Directory


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

Revision 41086 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 30 21:27:53 2011 UTC (3 years, 3 months ago) by pcanal
File length: 8842 byte(s)
Diff to previous 39262
Introduce TThreadSlots.h to centralize and formalize the use of the TThread local memory slots amongst the ROOT packages.
Move the definition of gThreadTsd to TROOT.cxx.

Revision 39262 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 19 09:10:49 2011 UTC (3 years, 8 months ago) by rdm
File length: 8779 byte(s)
Diff to previous 34686
Add new static method TThread::Initialize() that will activate the ROOT
mutexes without the need to create an actual thread.
Also added a number of protections and comments on return codes.

Revision 34686 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 31 19:52:20 2010 UTC (4 years, 5 months ago) by pcanal
File length: 8649 byte(s)
Diff to previous 34685
Renamed IsInited to IsInitalizing

Revision 34685 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 31 15:08:32 2010 UTC (4 years, 5 months ago) by pcanal
File length: 8644 byte(s)
Diff to previous 33808
Add a clear easy way to tell whether any TThread is in use (this is needed by r34682).
TThread::IsInitalized() now returns true as soon as TThread object is used.

Revision 33808 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 08:46:25 2010 UTC (4 years, 7 months ago) by rdm
File length: 8611 byte(s)
Diff to previous 32890
From Bertrand:
increase frequency of TThreadTimer (from 100ms to 10ms) to make graphics
in threaded environment smoother.

Revision 32890 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 7 08:51:48 2010 UTC (4 years, 9 months ago) by rdm
File length: 8612 byte(s)
Diff to previous 22961
From Mathieu de Naurois:
thread id's are 64-bit on 64-bit machines, fix ctor taking a 32-bit int.

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: 8611 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/TThread.h
File length: 8611 byte(s)
Diff to previous 20782
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 20782 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 13 13:40:08 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/thread/inc/TThread.h
File length: 8611 byte(s)
Diff to previous 19826
From Joern Adamczewski:
fixed issue 31085 by just changing the argument of
static TThread::Delete to a reference.

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/TThread.h
File length: 8610 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/TThread.h
File length: 8658 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/TThread.h
File length: 8668 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/TThread.h
File length: 8637 byte(s)
Diff to previous 10781
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 10781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 14 17:39:36 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/thread/inc/TThread.h
File length: 8550 byte(s)
Diff to previous 10774
From Maarten:
better JoinHelper implementation with proper cleanup.

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/TThread.h
File length: 8586 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/TThread.h
File length: 8492 byte(s)
Diff to previous 10449
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 10449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 2 13:07:58 2004 UTC (10 years, 2 months ago) by rdm
Original Path: trunk/thread/inc/TThread.h
File length: 8750 byte(s)
Diff to previous 9534
From Bertrand Bellenot:
added thread support for Win32. Like on Linux it is enabled by default
and can explicitely turned off via ./configure --disable-thread.

Revision 9534 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 16 00:08:17 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/thread/inc/TThread.h
File length: 8589 byte(s)
Diff to previous 9439
xlc needs forward declaration of friend class.

Revision 9439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 8 11:52:32 2004 UTC (10 years, 6 months ago) by rdm
Original Path: trunk/thread/inc/TThread.h
File length: 8571 byte(s)
Diff to previous 2341
several cleanups and a fix that allows TThreads to run also when not
in the TApplication eventloop.

Revision 2341 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 31 16:23:10 2001 UTC (13 years, 7 months ago) by brun
Original Path: trunk/thread/inc/TThread.h
File length: 8416 byte(s)
Diff to previous 1887
The following mods proposed by
           Mathieu de Naurois <denauroi@lpnhep.in2p3.fr>
New Thread constructor to connect to an existing running thread.
New cases in XAction.

Remove a gSystem->Sleep(10000); !!

Revision 1887 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 3 10:40:24 2001 UTC (13 years, 9 months ago) by rdm
Original Path: trunk/thread/inc/TThread.h
File length: 8390 byte(s)
Diff to previous 1175
the thread id must be a Long_t (maps to pthread_t which is a long). Number of
signature changes from Int_t to Long_t.

Revision 1175 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 16:15:31 2000 UTC (14 years, 1 month ago) by rdm
Original Path: trunk/thread/inc/TThread.h
File length: 8379 byte(s)
Diff to previous 230
override TObject::Delete() since it was masked by the static Delete(TThread*&).

Revision 230 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 16 12:24:47 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/thread/inc/TThread.h
File length: 8302 byte(s)
Diff to previous 3
Add new static member function (proposed by Marc Hemberger)
   static Int_t TThread::Exists();
This function returns the number of running 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/TThread.h
File length: 8216 byte(s)
Copied from: branches/rdm/thread/inc/TThread.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/TThread.h
File length: 8216 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