-
Notifications
You must be signed in to change notification settings - Fork 0
linux CLI platform #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Dan Connolly <[email protected]>
use "mcconfig -p x-cli-lin" to build it Signed-off-by: Dan Connolly <[email protected]>
If the headersComplete callback returns 'upgrade', return from the server callback immediately rather than continuing to the prepareResponse callback.
websockets.js doesn't check socket.write() to see how much data it can send. The agoric pixel demo goes over 1k, so let's use 4k for now.
- set promiseJobsFlag in fxQueuePromiseJobs This lets the lin_xs_cli platform run the promise queue to quiescence, a technique taken from xsl. - exit when promise from main() resolves - exit with failure if main() promise is rejected - fix hang in delete machine: don't unref main context - keep main loop running while promise jobs are pending - never mind then() process
If the headersComplete callback returns 'upgrade', return from the server callback immediately rather than continuing to the prepareResponse callback.
websockets.js doesn't check socket.write() to see how much data it can send. The agoric pixel demo goes over 1k, so let's use 4k for now.
I factored out 3 independent branches. See description (1st comment) for details. |
@erights asked if XS has a REPL and I said no. I just (re-)discovered that it does: Let's add that to the release targets. I suppose he uses a mac... releasing a binary of the REPL for mac is probably a separate issue... but we don't have issues turned on in this repo... |
It seems to not work in some cases and fxPromiseIsPending does it better anyway.
We plan to use git submodule integration into agoric-sdk.
The ISSUE of why do headless builds fail without debug tools? seems to have gone away.
ack: KK
overtaken by events long ago |
This is
x-cli-lin
platform .c and makefilesee also Moddable-OpenSource#305