Skip to content
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

[FL-3927] FuriThread stdin #3979

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

portasynthinca3
Copy link
Member

@portasynthinca3 portasynthinca3 commented Oct 31, 2024

What's new

  • Support for stdin in threads
  • Support for additional context for stdout and stdin callbacks
  • Unit tests for stdin and already existing stdout functionality
  • Small fix in furi_string docs

Verification

  • Run unit tests

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

Copy link

github-actions bot commented Oct 31, 2024

Compiled f7 firmware for commit da187fea:

@CookiePLMonster
Copy link
Contributor

What is the intended use of this? Can ufbt cli capture inputs into that stdin?

@portasynthinca3
Copy link
Member Author

What is the intended use of this? Can ufbt cli capture inputs into that stdin?

@CookiePLMonster The intended use case is to run commands in separate threads. For that, threads have to have a stdout (already in place) and a stdin (implemented in this PR).

@portasynthinca3 portasynthinca3 mentioned this pull request Nov 12, 2024
3 tasks
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