Compile worker.c as C++

This commit is contained in:
Johan Wikman
2017-03-24 11:50:16 +02:00
parent 64ab48f698
commit ece77c4478
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ add_library(maxscale-common SHARED
thread.cc thread.cc
users.cc users.cc
utils.cc utils.cc
worker.c worker.cc
) )
if(WITH_JEMALLOC) if(WITH_JEMALLOC)

View File

@ -51,7 +51,7 @@ static thread_local struct this_thread
*/ */
typedef struct worker_message typedef struct worker_message
{ {
int id; /*< Message id. */ uint32_t id; /*< Message id. */
intptr_t arg1; /*< Message specific first argument. */ intptr_t arg1; /*< Message specific first argument. */
intptr_t arg2; /*< Message specific second argument. */ intptr_t arg2; /*< Message specific second argument. */
} WORKER_MESSAGE; } WORKER_MESSAGE;