MXS-1360 Make it possible to specify thread stack size

It is now possible to specify the thread stack size to be used,
when a new thread is created. This will subsequently be used
for allowing the stack size to be specified for worker threads.
This commit is contained in:
Johan Wikman
2017-08-14 14:17:17 +03:00
parent bdb0f7d8d7
commit e9b2a560b8
13 changed files with 87 additions and 54 deletions

View File

@ -56,7 +56,7 @@ bool hkinit()
{
bool inited = false;
if (thread_start(&hk_thr_handle, hkthread, NULL) != NULL)
if (thread_start(&hk_thr_handle, hkthread, NULL, 0) != NULL)
{
inited = true;
}