Skip to content
Snippets Groups Projects
Commit 91129086 authored by Roman Khlopkov's avatar Roman Khlopkov 🔜
Browse files

[*] Proc thread poll update fix

parent 34080aa4
No related branches found
No related tags found
1 merge request!333hotfix-4871-1
Pipeline #8118 passed with stage
in 5 seconds
......@@ -2,7 +2,7 @@ project(cellframe-sdk C)
cmake_minimum_required(VERSION 3.0)
set(CMAKE_C_STANDARD 11)
set(CELLFRAME_SDK_NATIVE_VERSION "2.9-39")
set(CELLFRAME_SDK_NATIVE_VERSION "2.9-40")
add_definitions ("-DCELLFRAME_SDK_VERSION=\"${CELLFRAME_SDK_NATIVE_VERSION}\"")
set(DAPSDK_MODULES "")
message("Cellframe modules: ${CELLFRAME_MODULES}")
......
......@@ -295,9 +295,9 @@ int dap_proc_thread_esocket_update_poll_flags(dap_proc_thread_t * a_thread, dap_
}
a_thread->poll[a_esocket->poll_index].events= a_esocket->poll_base_flags;
if( a_esocket->flags & DAP_SOCK_READY_TO_READ)
a_thread->poll[a_esocket->poll_index].revents |= POLLIN;
a_thread->poll[a_esocket->poll_index].events |= POLLIN;
if( a_esocket->flags & DAP_SOCK_READY_TO_WRITE)
a_thread->poll[a_esocket->poll_index].revents |= POLLOUT;
a_thread->poll[a_esocket->poll_index].events |= POLLOUT;
#elif defined (DAP_EVENTS_CAPS_KQUEUE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment