Commit c9c05728 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use VSL_Setup() once more

parent a5d9851a
......@@ -141,8 +141,7 @@ wrk_thread_real(void *priv, unsigned shm_workspace, unsigned thread_workspace)
memset(w, 0, sizeof *w);
w->magic = WORKER_MAGIC;
w->lastused = NAN;
w->vsl->wlb = w->vsl->wlp = wlog;
w->vsl->wle = wlog + (sizeof wlog) / 4;
VSL_Setup(w->vsl, wlog, sizeof wlog);
AZ(pthread_cond_init(&w->cond, NULL));
WS_Init(w->aws, "wrk", ws, thread_workspace);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment