[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Long-lived Guile scripts in a mono-threaded game engine
From: |
Clinton Ebadi |
Subject: |
Re: Long-lived Guile scripts in a mono-threaded game engine |
Date: |
Tue, 27 May 2008 16:30:40 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Sylvain Beucler <address@hidden> writes:
> Hi,
>
> Thanks for your answers Ludovic and Clinton.
>
>
>> An alternative approach could use a thread per script.
>
> By the way, I have a question about threads: is there a way to kill a
> running thread? For example when the current game screen changes, all
> current scripts are terminated. Or does this need to be implemented
> manually?
cancel-thread / scm_cancel_thread should do what you want
--
<captain_krunk> ntk is currently using "telnet fyodor 25" to send email