Skip to content

fixed issue #1 (timer base) - #2

Open
fpaquet wants to merge 1 commit into
lukashoracek:masterfrom
fpaquet:master
Open

fixed issue #1 (timer base)#2
fpaquet wants to merge 1 commit into
lukashoracek:masterfrom
fpaquet:master

Conversation

@fpaquet

@fpaquet fpaquet commented Jul 25, 2026

Copy link
Copy Markdown

Your scheduler is based on os.clock(), which returns an approximation of the amount in seconds of CPU time used by the program.
It's only working, because the main loop is consuming 100% cpu time.

The solution is to replace os.clock() with socket.gettime()

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.

1 participant