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

System: Impl spinlock and usleep methods for sys targets #1781

Open
wants to merge 4 commits into
base: 8.2.0-Dev
Choose a base branch
from

Conversation

Dimensionscape
Copy link
Member

@Dimensionscape Dimensionscape commented May 1, 2024

Feature Proposal

This feature change adds a native cross platform sleep and spinlock method with microsecond accuracy.

This helps pave the way for a modular main loop in lime.

This feature change adds a cross platform sleep and spinlock method with microsecond accuracy.
Change conditionals to require only sys
@skial skial mentioned this pull request May 1, 2024
1 task
Reworked the spinlock and usleep implementations and added a timestamp method since we override haxe.Timer and lose access to the high definition stamp for native targets it originally provided.
We need to pass the native time_stamp from cffi for neko and hl.
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.

None yet

1 participant