RE: multiple sessions + aclic

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Thu, 03 Feb 2005 13:43:15 -0600


Hi,

Currently the only way for ROOT to automatically know if you library should be reloaded is to compare its time stamp to the time stamp of its depdendencies (including your tmp.C).

To manually force the reload (beside forcing the recompilation via tmp.C++), you need to explicitly unload the library:

	.U tmp_C.so
	.L tmp.C+

> and if I touch the script and reload it afterwards, root crashes.

Humm this is strange but might be due to the fact that one process is loading the library while another is rebuilding it.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Alexander Bürger
Sent: Thursday, February 03, 2005 4:43 AM To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] multiple sessions + aclic

Dear rooters,

for minimum typing and clicking I would like to run three root sessions in parallel and load the same macro in all of them with:

.L tmp.C+

If I change the macro and want to reload it, it works only in the first session. In the other two, root does not like to reload (says something like unmodified script), and if I touch the script and reload it afterwards, root crashes. To avoid the crashes, I have to quit and restart root.

How to avoid this quitting? Can I force a reload of the macro?

Kind regards,

Alexander Received on Thu Feb 03 2005 - 20:51:52 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET