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

SDL_Delay() on Mac OS X... #211

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

SDL_Delay() on Mac OS X... #211

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Labels
invalid This doesn't seem right

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 1.2.11
Reported for operating system, platform: Mac OS X (All), PowerPC

Comments on the original bug report:

On 2006-08-26 13:19:18 +0000, Ryan C. Gordon wrote:

The current Mac code for SDL_Delay() yields the CPU to other processes in a loop until the requisite ticks have passed. It appears that OS X either takes this as advisory and doesn't yield if there isn't something explicitly waiting for the CPU, or these system APIs have become no-ops for binary compatibility in Carbon.

http://www.libsdl.org/pipermail/sdl/2006-August/076182.html

We should ifdef these to only be used on OS 9, and have Mac OS X use the POSIX versions, which will put the process to sleep for X ticks.

--ryan.

On 2006-08-27 16:17:23 +0000, Ryan C. Gordon wrote:

Invalid: Mac OS X uses the POSIX codepath, not the "macos" one, which is for OS 9.

--ryan.

@SDLBugzilla SDLBugzilla added bug invalid This doesn't seem right labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant