We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This code causes a segfault:
#include <iostream> #include <hpx/hpx_main.hpp> #include <hpx/hpx_init.hpp> #include <hpx/include/lcos.hpp> #include <hpx/include/thread_executors.hpp> #include <boost/shared_ptr.hpp> using hpx::async; using std::vector; using hpx::lcos::future; using std::cout; using std::endl; using hpx::threads::executors::local_priority_queue_executor; class mock_runtime { public: boost::shared_ptr<local_priority_queue_executor> exec; }; boost::shared_ptr<mock_runtime> test_runtime; int hpx_main() { vector<hpx::lcos::future<void>> threads; test_runtime->exec.reset(new local_priority_queue_executor); test_runtime->exec.reset(); cout << "All done" << endl; return hpx::finalize(); } int main() { test_runtime.reset(new mock_runtime); hpx::init(); return 0; }
The text was updated successfully, but these errors were encountered:
This test works for me (tm)
Sorry, something went wrong.
hkaiser
No branches or pull requests
This code causes a segfault:
The text was updated successfully, but these errors were encountered: