-
Notifications
You must be signed in to change notification settings - Fork 65
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
future TODO main task scheduler for Windows #19
Comments
Can only be implemented for Windows 8 and 10 |
Use the serial queue as a backup, if the OS not support one. |
Hi, At the moment I am replacing my own Concurrency library with stlab and I noticed that the main_executor is not implemented in neither Classic Win32 nor UWP( Windows 8/10 ) I haven't investigated the UWP case yet, but the Classic Win32 solution to the problem should be maybe something like this? Application::nativeWindowHandle() and Application::STLAB_EXECUTE_TASK should be provided by the application itself:
Do you think this can be implemented more elegantly? Any pointers? Cheers |
I just changed to Windows 10, so I did not look into a solution so far. I did an implementation for Qt some while ago. It is at the end of my ACCU 2018 slides: https://github.com/ACCUConf/ACCUConf_PDFs/blob/master/2018/Felix_Petriconi_-_There_Is_A_New_Future.pdf As soon as I have time, I will add it. |
Thanks for the info Felix! |
@sean-parent I'm working on #412 but not sure how to address this one. Input? |
@dabrahams Since there are different main loops for different Windows tool sets, as far as I see it, it can be difficult to provide one that fits all. So far I have not seen a request for a main_executor. (I just work with Qt on Windows.) |
I spent some time looking at this - I had always assumed Win32 had a main thread/window. But that does not appear to be the case. Instead, it seems closer to an actor model where every (root) window has its thread and message queue. The intent of the That said, MFC apps have a |
New construct for libraries that groups classes and functions together
Open issue:
future.hpp:1441
// TODO (sparent) : We need a main task scheduler for STLAB_TASK_SYSTEM_WINDOWS
The text was updated successfully, but these errors were encountered: