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

hasNewTasksEvent signal results in infinite look on Apple Silicon #10

Open
BeastLe9enD opened this issue Mar 23, 2021 · 5 comments
Open

Comments

@BeastLe9enD
Copy link

Hey, I noticed that the example project does not work on Apple Silicon. It causes an infinite loop in MTScheduler.cpp
line 719 (the context.hasNewTasksEvent.Signal(); takes infinite time).

The Run(MT::FiberContext& context) function is empty so it should finish immediately.

Im using the latest version from Github.
MacOS version: 11.2.2

@DaeBasduhr
Copy link

gogo fix, i need for Metal Raytracing Game Engine

@DaeBasduhr
Copy link

it's a shame that there was absolutely no response. I assume that means the library is no longer being developed. Still, it would have been decent to at least communicate that clearly.
I can recommend Marl from Google to anyone who will be reading this, it's a very good library.

@BeastLe9enD
Copy link
Author

@DaeBasduhr It seems like he is not very active on github at the moment, If you really want to fix it you can fork it and fix it yourself.

@SergeyMakeev
Copy link
Owner

SergeyMakeev commented Feb 16, 2023

Sorry guys, but due to a few recent GitHub "email storms", most of the emails from GitHub end up in the spam folder.

I plan to retrofit TaskSceduler later this year. I'll be switching to CMake, adding support for M1/M2, and faster fibers. I don't have a specific timeline for this yet, as I'm busy with my main job. But I'm excited to make these updates and improve the project overall!

P.S. Pull Requests are welcome!

@BeastLe9enD
Copy link
Author

@SergeyMakeev are u fine if I already port the scheduler to cmake?

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

No branches or pull requests

3 participants