added two functions to cancel waiting for
loads to complete or for events. Usefull if the user wants to interrupt the regular operation of a simulator.
Authored by: ruckert 2008-05-16
Parent: [r95]
Child: [r97]