cancel
Showing results for 
Search instead for 
Did you mean: 

Using Events handlers in a Journal

Valued Contributor
Valued Contributor

Is it possible to use an event handle in a journal? I know Journals are basically interpreters that have a short run time, and don't sustain instructions in memory. So trying to do event driven programming in a Journal isn't really preferrable. However, I would like to know if it is possible? Can you sustain Journal compiled instructions in memory to check for events using the .NET calls? If event handles don't work, the only other possible thing I thought of was making the thread that the journal runs on wait by using EventWaitHandle class, and possibly add some logic to signal the thread only when a certain event has happened. However, if I make the thread wait, would I be able to use it to check for events? I don't have permissions to compile executable files so that isn't an option. However journaling is free game.

 

Can anybody comment?