> I need to execute one profiling function (which i coded) just before kaffe > terminates. Register your function with the standard atexit (4). The actual exit code in case of a "clean" exit is in systems/unix-jthreads/jthread.c (Only if you're using that threading system of course.) -Pat ----- ----- ---- --- --- -- - - - - - Pat Tullmann tullmann@cs.utah.edu The early bird gets the worm, so sleep in.