}
if (ret == -1 && errno == EINTR) {
- if (mono_thread_test_state (thread, (MonoThreadState)(ThreadState_AbortRequested | ThreadState_StopRequested))) {
+ if (mono_thread_test_state (thread, ThreadState_AbortRequested)) {
g_free (pfds);
return FALSE;
}
}
if (ret == -1 && errno == EINTR) {
- if (mono_thread_test_state (thread, (MonoThreadState)(ThreadState_AbortRequested | ThreadState_StopRequested))) {
+ if (mono_thread_test_state (thread, ThreadState_AbortRequested)) {
g_free (pfds);
*sockets = NULL;
return;