[plt-scheme] threads and mzscheme (again)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Jun 6 19:28:31 EDT 2005

At Mon, 06 Jun 2005 10:27:10 +0200, Hans Oesterholt-Dijkema wrote:
> Now, I've added the /client-connection-handler/, which handles the
> TCP/IP protocol, i.e., the OODB has been given a TCP/IP interface.
> [...]
> 
> Suddenly, I'm having the same behaviour as before again. The
> database queries seem to be executed synchronously.
> 
> What can be the cause of this? Is it multiple scheme_block_until()
> calls? (because maybe scheme_block_until() is also used with the
> TCP/IP mechanisms in mzscheme)?

Multiple scheme_block_until()s should be fine (and they should happen a
lot in DrScheme, for example).

I don't yet have any guesses about what's going wrong, though. When you
break your MzScheme interpreter in a C debugger, is it inside a call to
scheme_block_until()?

Matthew



Posted on the users mailing list.