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

Remove PIKA_WITH_DISABLED_SIGNAL_EXCEPTION_HANDLERS CMake option #773

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -430,17 +430,6 @@ pika_option(
ADVANCED
)

pika_option(
PIKA_WITH_DISABLED_SIGNAL_EXCEPTION_HANDLERS
BOOL
"Disables the mechanism that produces debug output for caught signals and unhandled exceptions (default: OFF)"
OFF
ADVANCED
)
if(PIKA_WITH_DISABLED_SIGNAL_EXCEPTION_HANDLERS)
pika_add_config_define(PIKA_HAVE_DISABLED_SIGNAL_EXCEPTION_HANDLERS)
endif()

# Thread Manager related build options

set(PIKA_MAX_CPU_COUNT_DEFAULT "")
Expand Down
2 changes: 0 additions & 2 deletions libs/pika/init_runtime/src/init_runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,14 +410,12 @@ namespace pika {
&pika::detail::registered_locks_error_handler);
pika::util::set_register_locks_predicate(&pika::detail::register_locks_predicate);
#endif
#if !defined(PIKA_HAVE_DISABLED_SIGNAL_EXCEPTION_HANDLERS)
if (pika::detail::get_entry_as<bool>(
cmdline.rtcfg_, "pika.install_signal_handlers", false))
{
set_signal_handlers();
}

#endif
pika::threads::detail::set_get_default_pool(&pika::detail::get_default_pool);
pika::threads::detail::set_get_locality_id(&get_locality_id);
pika::parallel::execution::detail::set_get_pu_mask(&pika::detail::get_pu_mask);
Expand Down