<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi!<div><br><div><div>Am 01.04.2014 um 16:06 schrieb Francisco <<a href="mailto:fjvallarino@gmail.com">fjvallarino@gmail.com</a>>:</div><blockquote type="cite"><span style="font-family: Helvetica; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">Has anyone faced a similar situation regarding asynchronous callbacks? Do you have any suggestion about handling that situation (maybe a different approach than the one I proposed)?</span></blockquote></div><br><div apple-content-edited="true">
<div>I have almost no experience with gambit, but on other platforms / languages, I usually write an actual callback in C that does feed an „event“ / signal (whatever it is called in scheme) into the VM that is executed on the vm thread / as a lightweight thread. Depending on the requirements of the callback (it might to might not require the buffer to be filled immediately after the callback returns), this might be an option checking out.</div><div><br></div><div>Cheers, </div><div>   Dirk</div><div><br></div></div></div><div apple-content-edited="true"><br>

</div>
<br></body></html>