summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_mp.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-07 16:01:34 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-07 16:01:34 +0300
commite58f4ef0d030f270c3ef2da7dcb891c961718372 (patch)
tree3d902bbe55b8edce47e8721edb2cf883bf600e95 /src/nxt_mp.h
parente15b975e9d285f84535c7697f1d87568bfb08269 (diff)
downloadunit-e58f4ef0d030f270c3ef2da7dcb891c961718372.tar.gz
unit-e58f4ef0d030f270c3ef2da7dcb891c961718372.tar.bz2
Memory pool thread safety checks in DEBUG build and usage fixes.
Diffstat (limited to 'src/nxt_mp.h')
-rw-r--r--src/nxt_mp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_mp.h b/src/nxt_mp.h
index 40abc707..78040df2 100644
--- a/src/nxt_mp.h
+++ b/src/nxt_mp.h
@@ -109,4 +109,6 @@ NXT_EXPORT void *nxt_mp_zget(nxt_mp_t *mp, size_t size)
NXT_MALLOC_LIKE;
+NXT_EXPORT void nxt_mp_thread_adopt(nxt_mp_t *mp);
+
#endif /* _NXT_MP_H_INCLUDED_ */