valgrind test script updated.
isthreadmain function has no arguments; fixed.
- isthreadmain function was not working.
- for loop - clear thread from function value ; so that object member functions can be used as generator functions.
add range generator function to slist.
from previous previous commit
wrong file.