Skip to content

Commit

Permalink
Use default backend for __sun (event ports)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Feb 24, 2011
1 parent 7dad30a commit b309192
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/node.cc
Expand Up @@ -2274,11 +2274,7 @@ int Start(int argc, char *argv[]) {
#endif // __MINGW32__

// Initialize the default ev loop.
#if defined(__sun)
// TODO(Ryan) I'm experiencing abnormally high load using Solaris's
// EVBACKEND_PORT. Temporarally forcing poll().
ev_default_loop(EVBACKEND_POLL);
#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
ev_default_loop(EVBACKEND_KQUEUE);
#else
ev_default_loop(EVFLAG_AUTO);
Expand Down

0 comments on commit b309192

Please sign in to comment.