Skip to content

Conversation

@dckc
Copy link
Contributor

@dckc dckc commented Dec 27, 2019

In addition to my earlier 2 PRs:

This adds

  • x-cli-lin platform (make.x-cli-lin.mk , lin_xs_cli.c ) (originally by @warner)
  • build-release github workflow for headless linux SDK ff41561
  • export mxPromiseStatus() as fxPromiseIsPending() 2f7f8c2

Perhaps the github build action is too Agoric-specific? @dtribble has encouraged me to get everything that Agoric needs upstreamed, though. And for our purposes, it's at least cost-effective, if not critical.
Agoric/agoric-sdk#118 (comment)

chat with @dtribble...

  • for headless, only depend on glib; not all of gtk

dckc and others added 24 commits January 27, 2020 19:20
Signed-off-by: Dan Connolly <dckc@madmode.com>
use "mcconfig -p x-cli-lin" to build it

Signed-off-by: Dan Connolly <dckc@madmode.com>
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.
@dckc dckc closed this Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants