From 961944b941681e80dbf155a4736c9a334080ea54 Mon Sep 17 00:00:00 2001 From: Barabanov Anton <a.barabanov@corp.mail.ru> Date: Tue, 13 Jan 2015 18:32:44 +0300 Subject: [PATCH] fix race condition in iobuf --- src/iobuf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iobuf.cc b/src/iobuf.cc index 07027ffffd..54fcb03827 100644 --- a/src/iobuf.cc +++ b/src/iobuf.cc @@ -30,7 +30,7 @@ #include "coio_buf.h" #include "fiber.h" -struct mempool iobuf_pool; +__thread struct mempool iobuf_pool; /** * Network readahead. A signed integer to avoid * automatic type coercion to an unsigned type. -- GitLab