diff options
Diffstat (limited to 'cpp/src/qpid/asyncStore/TxnHandleImpl.cpp')
-rw-r--r-- | cpp/src/qpid/asyncStore/TxnHandleImpl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/asyncStore/TxnHandleImpl.cpp b/cpp/src/qpid/asyncStore/TxnHandleImpl.cpp index af3a8f01cf..c5371f161c 100644 --- a/cpp/src/qpid/asyncStore/TxnHandleImpl.cpp +++ b/cpp/src/qpid/asyncStore/TxnHandleImpl.cpp @@ -110,7 +110,10 @@ void TxnHandleImpl::createLocalXid() { uuid_t uuid; + + // TODO: This call might not be thread safe - Valgrind's helgrind tool emits warnings for this: ::uuid_generate_random(uuid); + char uuidStr[37]; // 36-char uuid + trailing '\0' ::uuid_unparse(uuid, uuidStr); m_xid.assign(uuidStr); |