Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Conversation

@AsakuraMizu
Copy link
Collaborator

@AsakuraMizu AsakuraMizu commented Mar 20, 2025

Current Status

  • To be discussed

Description

Following #22, this PR is a implementation of the proposal #16. This PR gets rid of the dependency on arceos_posix_api of Starry.

Goals

  • Safe: write safe code instead of passing pointers and using unsafes as much as possible.
  • Developer friendly: we no longer need to do dirty works in two repositories simultaneously.
  • Ultimately, we can merge our progress into upstream repo.

Not yet ported from arceos_posix_api

  • Pthread (do we need it?)
  • I/O multiplexing
  • Networking syscalls
  • Misc syscalls, e.g. sysconf and getrlimit

I recommend doing them in separate PRs so as not to make this huge PR even bigger.

@AsakuraMizu
Copy link
Collaborator Author

Previously at #22 (comment), we decided to put the file descriptor table in api. However, the biggest obstacle is that when cloning tasks, it needs to be cloned or shared, and this part is done in core.

A possible solution: split part of the code for cloning and spawning tasks into api, including flags handling, namespace initializing etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant