Thanks for the help with exceptions. It was a life saver.
Another issue that came up is that of threads. How well can one manage
threads in scsh? I basically need to get accurate measurement of runtime
and memory usage of threads at peroidic intervals. All threads can be
frozen at this point. Measurement is very important and more important
than keeping the memory usage low.
Would I be better off with processes rather than threads? Also, if I go
with processes, will it be possible of me to write routines for
I am not expecting full solutions, just pointers as to where I should
Some help would be much appreciated.