We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 168f584 + 9520dc9 commit cc283b2Copy full SHA for cc283b2
opal/util/event.c
@@ -12,6 +12,7 @@
12
* Copyright (c) 2017 IBM Corporation. All rights reserved.
13
* Copyright (c) 2018-2020 Amazon.com, Inc. or its affiliates. All
14
* Rights reserved.
15
+ * Copyright (c) 2022 Google, LLC. All rights reserved.
16
* $COPYRIGHT$
17
*
18
* Additional copyrights may follow
@@ -45,8 +46,10 @@ int opal_event_register_params(void)
45
46
// Get supported methods
47
opal_event_all_available_eventops = event_get_supported_methods();
48
-#ifdef __APPLE__
49
+#if defined(PLATFORM_OS_DARWIN)
50
opal_event_module_include = "select";
51
+#elif defined(PLATFORM_OS_LINUX)
52
+ opal_event_module_include = "epoll";
53
#else
54
opal_event_module_include = "poll";
55
#endif
0 commit comments