[racket] scheme_call_enable_break

From: Diogo F. S. Ramos (diogofsr at gmail.com)
Date: Sun Apr 21 15:49:19 EDT 2013

Laurent <laurent.orseau at gmail.com> writes:

> In particular, I'd like to use it with shawnpresser's unix domain socket package [2] and its `accept' function, but I'm not sure how to make one work with the other.

Writing more about how to deal with the unix domain socket blocking,
this is how I do it: I make an input port from the socket using
`scheme_make_fd_input_port' and I use `sync' with this input-port to
accept connections.  When `sync' returns I know there is something
waiting to be accepted.

Posted on the users mailing list.