Skip to content

feat(async): Implement async execve and related functions for improved process handling across environments - #4

Open
mathiscode wants to merge 1 commit into
zen-fs:mainfrom
mathiscode:feat/execve-async
Open

feat(async): Implement async execve and related functions for improved process handling across environments#4
mathiscode wants to merge 1 commit into
zen-fs:mainfrom
mathiscode:feat/execve-async

Conversation

@mathiscode

Copy link
Copy Markdown

This is purely additive and shouldn't affect any existing synchronous system, and adds async complements to the sync base. Let me know if you'd prefer to handle this a different way or if I overlooked a convention, but ecmaos will need async execution contexts in some form so I'm interested in your thoughts.

Loving the solid foundation, excellent work!

@james-pre

Copy link
Copy Markdown
Member

I'm thinking I might do JS processes as worker threads, which can then use Atomics.wait so sync/async doesn't matter. Then kernel-side we'd just do all the process stuff async. Might have to get back to you after I prototype that.

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