[root] / trunk / net / net / src / TMonitor.cxx Repository:
ViewVC logotype

Log of /trunk/net/net/src/TMonitor.cxx

Parent Directory Parent Directory


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

Revision 41729 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 2 16:39:34 2011 UTC (3 years, 2 months ago) by rdm
File length: 15751 byte(s)
Diff to previous 31598
Coverity.

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: 15729 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: 15315 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: 15310 byte(s)
Diff to previous 24712
From Gerri:
added TMonitor copy ctor.

Revision 24712 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 8 13:54:34 2008 UTC (6 years, 6 months ago) by rdm
File length: 14355 byte(s)
Diff to previous 24711
local variable "ls" was shadowing method TNamed::ls()? So never us a variable
named ls anywhere in ROOT anymore.

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: 14355 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: 12861 byte(s)
Copied from: trunk/net/src/TMonitor.cxx 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/src/TMonitor.cxx
File length: 12861 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/src/TMonitor.cxx
File length: 12861 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/src/TMonitor.cxx
File length: 12911 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/src/TMonitor.cxx
File length: 12921 byte(s)
Diff to previous 15507
From Gerri:
simplify checking if socket is in the list of active sockets.

Revision 15507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 16:18:27 2006 UTC (8 years, 7 months ago) by rdm
Original Path: trunk/net/src/TMonitor.cxx
File length: 12489 byte(s)
Diff to previous 15114
From Gerri:
The patch implements the following new functionality:

  - Shutdown of idle sessions when quitting ROOT; if not idle the session
    is shutdown as soon as processing terminates; it is possible to delay
    the automatic shutdown by a tunable amount of time via a new directive
    in the xrootd config file 'xpd.shutdown' (see xpd.cf.example).

  - New static method TProof::Reset(const char *url) to hard-cleanup an
    user area (implemented for Xproofd only); this implied quite some
    additions in XrdProofdProtocol.

  - Possibility to temporary remove / re-insert a worker from the active list
       TProof::DeactivateWorker(const char *ord)
       TProof::ActivateWorker(const char *ord)
    with 'ord' the ordinal numer, e.g. "0.3" .

  - A default url for the disk pool
       const char *TVirtualProof::GetDataPoolUrl()
    It is set by default to a string send back by the master, but it can
    be changed via
       void  TVirtualProof::SetDataPoolUrl(const char *url)

    Jan should then adapt his code to use this as default.

  - Posibility to timeout Collect; for now this is only used at forced
    termination.

The patch includes many small changes and bug fixes. One of the most important
is in TXNetSystem (a bug preventing correct treatment of multiple request
to the same redirector).

Revision 15114 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 19 07:40:18 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/net/src/TMonitor.cxx
File length: 12433 byte(s)
Diff to previous 14748
Fix some coding conventions violations

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/src/TMonitor.cxx
File length: 12371 byte(s)
Diff to previous 14745
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 14745 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 08:22:26 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/net/src/TMonitor.cxx
File length: 12031 byte(s)
Diff to previous 10798
Change the TError.h macros:
Assert   ->  R__ASSERT
Check    ->  R__CHECK
Change the TCollection.h macro:
ForEach  ->  R__FOR_EACH
This to avoid potential problems due too trivial macro names.
The old macros will be removed in the next release. Currently
they will print out warning messages with the advice to move
to the new macro names.

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/src/TMonitor.cxx
File length: 12028 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/src/TMonitor.cxx
File length: 9086 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/src/TMonitor.cxx
File length: 8813 byte(s)
Diff to previous 3883
GetListOfActives() and GetListOfDeActives() now correctly returns a list of
TSockets and not of TSocketHandlers.

Revision 3883 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 6 11:51:00 2002 UTC (12 years, 11 months ago) by rdm
Original Path: trunk/net/src/TMonitor.cxx
File length: 7823 byte(s)
Diff to previous 1467
correct comments on usage of read and write flags.

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/src/TMonitor.cxx
File length: 7745 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/src/TMonitor.cxx
File length: 7534 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/src/TMonitor.cxx
File length: 7275 byte(s)
Copied from: branches/rdm/net/src/TMonitor.cxx 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/src/TMonitor.cxx
File length: 7275 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