[plt-scheme] Creating a suspended thread

From: R. Emre Başar (reb at cs.bilgi.edu.tr)
Date: Mon Apr 13 09:36:45 EDT 2009

Hi,

I'm tryring to create a thread which is initially suspended.  As far as
I know, (thread (lambda () ...)) creates a thread and runs it instantly.
Is it possible to create a thread in suspended state to resume later?

I know it's possible to create and suspend it afterwards but our
application is rather time intensive so I don't want it to have even a
little chance to run.

I might solve it using some kind of a locking primitive but I think it
would be an overkill to do it that way.

Any suggestions?

-- 
R. Emre Başar
İstanbul Bilgi University
Department of Computer Science
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.racket-lang.org/users/archive/attachments/20090413/ea14d898/attachment.sig>

Posted on the users mailing list.