Skip to content
Snippets Groups Projects
Commit 8271292a authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

Merge branch 'bugs-2615-1' into 'master'

type fixed

See merge request !13
parents 11849ead 6067a28e
No related branches found
No related tags found
1 merge request!13type fixed
...@@ -22,7 +22,8 @@ endif() ...@@ -22,7 +22,8 @@ endif()
add_library(${PROJECT_NAME} STATIC ${cuttdb_h} ${cuttdb_src}) add_library(${PROJECT_NAME} STATIC ${cuttdb_h} ${cuttdb_src})
set_target_properties(dap_cuttdb PROPERTIES LINKER_LANGUAGE C)
target_link_libraries(${PROJECT_NAME} -lpthread) target_link_libraries(${PROJECT_NAME} -lpthread)
target_include_directories(${PROJECT_NAME} INTERFACE src) target_include_directories(${PROJECT_NAME} INTERFACE src)
...@@ -61,7 +61,7 @@ static void *_cdb_bgtask_func(void *arg) ...@@ -61,7 +61,7 @@ static void *_cdb_bgtask_func(void *arg)
CDBBGTASK *bt = (CDBBGTASK *)arg; CDBBGTASK *bt = (CDBBGTASK *)arg;
#ifndef _WIN32 #ifndef _WIN32
/* block all signals coming into current thread */ /* block all signals coming into current thread */
_sigset_t smask; sigset_t smask;
sigfillset(&smask); sigfillset(&smask);
pthread_sigmask(SIG_BLOCK, &smask, NULL); pthread_sigmask(SIG_BLOCK, &smask, NULL);
#endif #endif
......
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