Skip to content

Replace WinAPI Sleep with std::this_thread sleep_for and yield - #519

Merged
ZivDero merged 2 commits into
OpenTS-Developers:mainfrom
Belonit:replace-winapi-sleep
Nov 14, 2026
Merged

ZivDero merged 2 commits into
OpenTS-Developers:mainfrom
Belonit:replace-winapi-sleep

Conversation

@Belonit

@Belonit Belonit commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor
  • Sleep(0) replaced by std::this_thread::yield()
  • Sleep(n) replaced by std::this_thread::sleep_for(std::chrono::milliseconds(n))

@Belonit
Belonit force-pushed the replace-winapi-sleep branch from 424aa3d to 6107e60 Compare November 1, 2026 21:16
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Development builds of 166f717:

The links work without a GitHub account. Artifacts expire after 90 days, and this comment follows the latest successful build.

@Belonit
Belonit force-pushed the replace-winapi-sleep branch from 6107e60 to 65e36c8 Compare November 6, 2026 20:20
@Belonit Belonit changed the title Replace WinAPI Sleep with SDL_Delay and thread::yield Replace WinAPI Sleep with std::this_thread sleep_for and yield Nov 6, 2026
@ZivDero ZivDero added the no change record Engine change needs no manual change record label Nov 14, 2026
@ZivDero
ZivDero merged commit e4d34d5 into OpenTS-Developers:main Nov 14, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no change record Engine change needs no manual change record

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants