[plt-scheme] calling scheme_apply from pthread

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Mar 26 09:17:45 EDT 2008

At Wed, 26 Mar 2008 19:58:09 +0700, "Vijay Mathew" wrote:
> I have a C extension that creates a pthread and calls scheme_apply from it.
> This crashes mzscheme with a segmentation fault.
> Is there some way to call a scheme function from a pthread callback?

No --- the MzScheme C API can be used only from the thread in which
MzScheme was initialized.


Posted on the users mailing list.