[plt-scheme] threads and mzscheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon May 23 17:13:22 EDT 2005

At Mon, 23 May 2005 21:53:42 +0200, Hans Oesterholt-Dijkema wrote:
> Will this cause problems?
> 
> /"C functions that can invoke MzScheme (and also be invoked by MzScheme) 
> depend on strict function-call nesting./ For example, suppose a function 
> F uses an internal stack, pushing items on to the stack on entry and 
> popping the same items on exit. Suppose also that F invokes MzScheme to 
> evaluate an expression. If the evaluate on this expression invoked F 
> again in a new thread, but then returns to the first thread before 
> completing the second F, then F's internal stack will be corrupted."

No, I don't think that this is relevant in your case.

Matthew



Posted on the users mailing list.