[Mono-devel-list] Embedding Mono in a Virtual World
2a5gjx302 at sneakemail.com
Wed Jan 26 12:41:13 EST 2005
At 06:25 PM 26/01/2005 +0100, Paolo Molaro wrote:
>On 01/26/05 Jim Purbrick wrote:
>> With the current interpretted system, event handlers
>> are called by the system and run until they exit or a
>> quanta has elapsed and then another script is
>> scheduled. Would a similar approach be possible using
>> Mono? Would it be a good way to go?
>You can run the scripts in a thread and abort or
>interrupt the thread after a timeout, but that won't
>save the state of the script if you meant to reload
>it later and restart it from where it was interrupted.
Just thought I'd chime in and point out that it sounds like what Jim wants
is simply pre-emptive multithreading, which the operating system will
already provide for mono's threads.
More information about the Mono-devel-list