[root] / trunk / net / net / inc / TMonitor.h Repository:
ViewVC logotype

Log of /trunk/net/net/inc/TMonitor.h

Parent Directory Parent Directory


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

Revision 31598 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 7 15:21:47 2009 UTC (5 years, 1 month ago) by rdm
File length: 3311 byte(s)
Diff to previous 28779
From Gerri:
Fix a few pending issues in PROOF-Lite:
  - Source the env file before running 'proofserv'; this allows to run valgrind
    or other wrapper scripts (e.g. experiment-specific environment initializers)
    before proofserv, as in normal PROOF
  - Fix a problem with Load()
  - Add the possibility for the administrator to control the number of workers
    for PROOF-Lite or eventually to forbid the use of it (request on the forum).
    The rootrc variable ProofLite.MaxWorkers is read out of /etc/system.rootrc
    and cannot be overwritten by users.

Improve handling of Ctrl-C:
  - Fix a problem in TMonitor affecting the effectiveness of interrupts.
  - Do not send the results from workers to masters if the query has been
    aborted.

Miscellanea:
  - Make sure that the size of the cache sent back to the packetizer by the
    workers is meaningful in case the defaults are used (i.e. not -1).
  - Make the current processed element available to selectors via the
    input list; this allows to write a more simple and effective packetizers
    for tasks where the entry is a file (e.g., dataset generation in the
    benchmark suite).

Revision 28779 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 2 16:17:10 2009 UTC (5 years, 7 months ago) by rdm
File length: 3257 byte(s)
Diff to previous 26347
white space, small tupo in comment.

Revision 26347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 21 14:28:56 2008 UTC (6 years, 2 months ago) by rdm
File length: 3286 byte(s)
Diff to previous 24711
From Gerri:
added TMonitor copy ctor.

Revision 24711 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 8 13:41:12 2008 UTC (6 years, 6 months ago) by rdm
File length: 3254 byte(s)
Diff to previous 23091
From Gerri:
in TSocket keep track of socket activity using a time stamp. In TMonitor 
use the socket activity timestamp to exclude sockets that have not 
seen activity within a certain time interval.

Revision 23091 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 9 15:04:27 2008 UTC (6 years, 9 months ago) by rdm
File length: 3235 byte(s)
Copied from: trunk/net/inc/TMonitor.h revision 23090
Diff to previous 20882
moving the follwing directories to "net":

alien, auth, glite, globusauth, krb5auth, ldap, monalisa, net, netx,
rootd, rpdutils, srputils, xrootd

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/net/inc/TMonitor.h
File length: 3235 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/net/inc/TMonitor.h
File length: 3235 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/net/inc/TMonitor.h
File length: 3282 byte(s)
Diff to previous 16859
remove :$ from tag line

Revision 16859 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 00:25:32 2006 UTC (8 years, 2 months ago) by rdm
Original Path: trunk/net/inc/TMonitor.h
File length: 3292 byte(s)
Diff to previous 14748
From Gerri:
simplify checking if socket is in the list of active sockets.

Revision 14748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 10:50:01 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/net/inc/TMonitor.h
File length: 3253 byte(s)
Diff to previous 13588
From Gerri:
- a new class TXHandler from which TXProofMgr, TXProofServ and TXSlave
  (i.e. all classes owning a TXSocket) derive; this allows to simplify a
  lot the handling of inputs and errors on the asynchronous line.
- a modification to TMonitor to interrupt TMonitor::Select; this is needed
  to avoid being stuck on socket errors which in Collect, and also to treat
  locally Ctrl-C .

Revision 13588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 15:12:19 2005 UTC (9 years, 1 month ago) by rdm
Original Path: trunk/net/inc/TMonitor.h
File length: 3132 byte(s)
Diff to previous 10798
From Gerri:
some small mods that prepare the ground for the new PROOF patch:
- TMessage.h, TMonitor.h: add friendship to new socket classes
- TSemaphose: support relative timeout in Wait()
- TUrl: in GetUrl() add option to also get default port numbers as part
        of the url.

Revision 10798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 17:48:03 2004 UTC (10 years, 1 month ago) by rdm
Original Path: trunk/net/inc/TMonitor.h
File length: 3102 byte(s)
Diff to previous 10339
From Gerri:
Purpose:
 - Add new Select functionality in TMonitor and TSocket
   This functionality will be used for asyncronous threaded
   reader of TXNetFile.
 - Add support for creation of a TNetFile using an existing
   connection (reuse connection that was already opened by
   TXNetFile while remore side is rootd and not xrootd).

net/inc/TMonitor.h
 - add new private member Bool_t fMainLoop to tell if the
   monitoring has to be on the main loop or outside.
 - add argument 'Bool_t mainloop' to the constructor, default kTRUE
 - add new method SetInterest() to change interest mask of
   a socket
 - add new Select() method for the out-of-main-loop case

net/src/TMonitor.cxx
 - add implemention for the new methods.

net/inc/TNetFile.h
 - add new signature for method Create() to open a TNetFile
   using an existing connection (used to optmize the rootd
   fall back support in TXNetFile).

net/src/TNetFile.cxx
 - add support for new Create()

net/inc/TPSocket.h
 - add new constructor to setup a parallel socket using
   an existing connection (used to optmize the rootd
   fall back support in TXNetFile).
 - add support for new constructor in method Init()

net/src/TPSocket.cxx
 - add implentation of new ctor and related modifications
   in Init().

net/inc/TSocket.h
 - add new method Select() to monitor the socket outside
   the main event loop
 - add new method SetDescriptor() used in TXSocket to save
   the TSocket part
 - add new member fTcpWindowSize and corresponding getter
   for use in the new TPSocket ctor
 - add a 'TSocket *' argument to CreateAuthSocket (default 0)
   to allow re-using of an existing connection

net/src/TSocket.cxx
 - add new method Select() to monitor the socket outside
   the main event loop

Revision 10339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 18 14:03:39 2004 UTC (10 years, 3 months ago) by rdm
Original Path: trunk/net/inc/TMonitor.h
File length: 2837 byte(s)
Diff to previous 5383
From Valeriy:
Lutz from http://root.cern.ch/phpBB2/viewtopic.php?t=1196
suggested to add signal TMonitor class which indicates when socket is ready.
 o TMonitor class is inherited from TObject and TQObject
 o Ready(TSocket * sock) signal is added.
 o TMonitor methods made virtual.
Thanks to Hoinki-Lutz

Revision 5383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 3 17:59:23 2002 UTC (12 years, 3 months ago) by rdm
Original Path: trunk/net/inc/TMonitor.h
File length: 2597 byte(s)
Diff to previous 5377
GetListOfActives() and GetListOfDeActives() now correctly returns a list of
TSockets and not of TSocketHandlers.

Revision 5377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 2 13:05:02 2002 UTC (12 years, 3 months ago) by rdm
Original Path: trunk/net/inc/TMonitor.h
File length: 2661 byte(s)
Diff to previous 1467
make SetReady() private (and the 2 internal classes that called this method
a friend of TMonitor). Provide getters for the active and de-active socket
lists.

Revision 1467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 18:39:42 2001 UTC (14 years ago) by rdm
Original Path: trunk/net/inc/TMonitor.h
File length: 2456 byte(s)
Diff to previous 1070
can now also use TMonitor to check for write readiness of sockets. Specify
in Add() that the socket needs its write status to be monitored.

Revision 1070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 27 10:46:50 2000 UTC (14 years, 1 month ago) by rdm
Original Path: trunk/net/inc/TMonitor.h
File length: 2386 byte(s)
Diff to previous 3
added new method RemoveAll().

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/net/inc/TMonitor.h
File length: 2311 byte(s)
Copied from: branches/rdm/net/inc/TMonitor.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/net/inc/TMonitor.h
File length: 2311 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