Re: Multithreading

From: Erick Gallesio <>
Date: Sun, 22 Mar 1998 21:13:16 +0100

Filippo De Grandi writes:
> <html>
> Hello STk users!<br>
> <br>
> I need to know if STk can manage multithreading programming.<br>

Not yet, but I hope to provide very soon something (it will not be too
efficient since it will be based on call/cc) but it will be here.

> <br>
> I have to transform a scheme-espression evalutator written with MzScheme
> to STk, and in a line I found this:<br>
> (<b>set!</b> thread-id (<b>thread</b> reader) .... where the program
> starts a new thread of evalutation<br>
> <br>
> How can i do it with STk ? And, first of all, is it possible ?<br>

It depends of what you have to do:
        - A non preemptive system can be easily written with the help
         of call/cc.
        - if your task is something which is very light you can probaly do it
        using the "after" Tk command.

In fact the system I will try to integrate is a mix of the two (the
light process which is in the "after" handler being the scheduler).

                -- Erick
Received on Sun Mar 22 1998 - 21:30:49 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST