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

[feat] Add a sleep or wait function #8

Open
hgruniaux opened this issue Feb 27, 2024 · 0 comments
Open

[feat] Add a sleep or wait function #8

hgruniaux opened this issue Feb 27, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@hgruniaux
Copy link
Owner

It is useful to be able to wait for some time or cycles in the kernel (e.g. because the hardware need time to do an operation).

Not to be confused with the sleep system call required for POSIX compatibility. The sleep system call let the scheduler do something else. The kernel sleep just wait some time so the hardware can catch up (in the kernel there is no scheduler for now).

Tutorial: https://github.com/bztsrc/raspi3-tutorial/tree/master/07_delays
The tutorial is not up-to date, QEMU now support BCM System Timer peripheral.

@hgruniaux hgruniaux added enhancement New feature or request good first issue Good for newcomers labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant