[Mono-list] Interaction between embedded mono and host application

Dietmar Maurer dietmar@ximian.com
13 Aug 2002 09:10:01 +0200


On Tue, 2002-08-13 at 10:09, Joseph Wenninger wrote:
> Hi
> 
> I would like to know if my test works because of a bug or because it is really 
> possible.
> 
> I embedded mono into my application. In pseudo code the main function of my 
> csharp application looks like:
> 
> {
> createAsyncCallbacks;
> return;
> }
> 
> In a simple application it looks like the callbacks still work, after the 
> mono_jit_exec function has been left. Is that lucky coincidence, or does the 
> jit still completely work, after the exec function has been left, till I do a 
> mono_jit_cleanup.

mono is initialized with mono_jit_init() and is fully functional after
that call until you call mono_jit_cleanup(). 

 Are there any restrictions, what I can do within those 
> callbacks ?

No, there are no restrictions. But i am not sure if I really understand
the above example.

- Dietmar