TThreadPool
- added a method to drain the tasks queue.
- minor bugs fixed.
- the stress test was updated.


git-svn-id: https://root.cern.ch/svn/root/trunk@46329 27541ba8-7e3a-0410-8455-c3a389f83636
Make the self iterator take a single decl, when it is describing a single member.
For now assert if someone tries to iterate over the single decl. (In principle it is possible to iterate over single decl, however, I can hardly think of such use case.)

Implement in a better way the insertion of globals.


git-svn-id: https://root.cern.ch/svn/root/trunk@46330 27541ba8-7e3a-0410-8455-c3a389f83636
Typo.


git-svn-id: https://root.cern.ch/svn/root/trunk@46331 27541ba8-7e3a-0410-8455-c3a389f83636
Add cling::StoredValueRef: a ref-counted value with automatic storage management.
Update Interpreter to use that instead of cling::Value.
This fixes an issue where the called neded to guess the return type of the wrapper function, such that for instance Interpreter::Evaluate() has storage for the wrapper's aggregate SRet return value if needed.
Instead, the Interpreter now allocates the proper storage for return values, and hands out references to it.
StoredValueRef is tiny (8bytes on 64bit Linux); default allocation is cheap.

Update TCintWithCling and friends; don't pass the returnValue in if the caller does not need it.
TClingCallFunc: provide storage for fArgs.


git-svn-id: https://root.cern.ch/svn/root/trunk@46334 27541ba8-7e3a-0410-8455-c3a389f83636
Essential part of r46334. Log was:
Add cling::StoredValueRef: a ref-counted value with automatic storage management.
Update Interpreter to use that instead of cling::Value.
This fixes an issue where the called neded to guess the return type of the wrapper function, such that for instance Interpreter::Evaluate() has storage for the wrapper's aggregate SRet return value if needed.
Instead, the Interpreter now allocates the proper storage for return values, and hands out references to it.
StoredValueRef is tiny (8bytes on 64bit Linux); default allocation is cheap.


git-svn-id: https://root.cern.ch/svn/root/trunk@46335 27541ba8-7e3a-0410-8455-c3a389f83636
update cmake config file.


git-svn-id: https://root.cern.ch/svn/root/trunk@46338 27541ba8-7e3a-0410-8455-c3a389f83636
Disable loading of modules


git-svn-id: https://root.cern.ch/svn/root/trunk@46340 27541ba8-7e3a-0410-8455-c3a389f83636
Remove cling::Value-compatible overloads.
Use "m_" as member prefix.
Remove adopt() - not needed.
Remove hasValue() - it's meaningless (use isValid() to check validity of value).


git-svn-id: https://root.cern.ch/svn/root/trunk@46341 27541ba8-7e3a-0410-8455-c3a389f83636
The callback goes first.


git-svn-id: https://root.cern.ch/svn/root/trunk@46342 27541ba8-7e3a-0410-8455-c3a389f83636
Revert previous change which broke cling's testsuite.
The issue that was addressing the previous commit will be fixed with the upcoming
changes anyway.


git-svn-id: https://root.cern.ch/svn/root/trunk@46345 27541ba8-7e3a-0410-8455-c3a389f83636
Better formatting; put into stderr to be in sync with rest of output.


git-svn-id: https://root.cern.ch/svn/root/trunk@46346 27541ba8-7e3a-0410-8455-c3a389f83636
Implement the Browse method


git-svn-id: https://root.cern.ch/svn/root/trunk@46347 27541ba8-7e3a-0410-8455-c3a389f83636
Revert unintentional change of r46334


git-svn-id: https://root.cern.ch/svn/root/trunk@46348 27541ba8-7e3a-0410-8455-c3a389f83636
Properly set iterator no-step on first time flag
when initialized with a decl.


git-svn-id: https://root.cern.ch/svn/root/trunk@46349 27541ba8-7e3a-0410-8455-c3a389f83636
Properly set the no-step-on-first-call flag for
the internal iterator when initialized with a decl.


git-svn-id: https://root.cern.ch/svn/root/trunk@46350 27541ba8-7e3a-0410-8455-c3a389f83636
remove unused variable.


git-svn-id: https://root.cern.ch/svn/root/trunk@46351 27541ba8-7e3a-0410-8455-c3a389f83636
Pass -fno-rtti when compiling class derived from no-rtti-ed cling classes. That file will arrive shortly :-)


git-svn-id: https://root.cern.ch/svn/root/trunk@46352 27541ba8-7e3a-0410-8455-c3a389f83636
Fix default constructed TClingDataMemberInfo


git-svn-id: https://root.cern.ch/svn/root/trunk@46353 27541ba8-7e3a-0410-8455-c3a389f83636
SetBranchAddress should complain even in the case where an object is passed instead of a simple type (and vice et versa)


git-svn-id: https://root.cern.ch/svn/root/trunk@46358 27541ba8-7e3a-0410-8455-c3a389f83636
From Elvin:

I tracked down a small bug in TFPBlock.cxx::ReallocBlock  which was not updating correctly the total size of the block which was recycled. This could only manifest itself in the case where the block was to be re-read from the local cache. 

I fixed this which was an one-liner but I also profited from this occasion to change the type of fullBlockSize from Int_t to Long64_t just to be on the safe size and fix a possible memory leak in TFPBlock. I added the patch to this email. I reran the tests and they all pass.


git-svn-id: https://root.cern.ch/svn/root/trunk@46360 27541ba8-7e3a-0410-8455-c3a389f83636