We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b14e189 commit 3fb235dCopy full SHA for 3fb235d
src/jrd/ProfilerManager.cpp
@@ -33,11 +33,11 @@
33
#include "../jrd/met_proto.h"
34
#include "../jrd/pag_proto.h"
35
#include "../jrd/tra_proto.h"
36
+#include "../common/classes/Spinlock.h"
37
38
#include <atomic>
39
#include <mutex>
40
#include <vector>
-#include "boost/interprocess/sync/interprocess_mutex.hpp"
41
42
#ifdef WIN_NT
43
#include <process.h>
@@ -103,8 +103,8 @@ namespace
103
event_t clientEvent;
104
USHORT bufferSize;
105
std::atomic<Tag> tag;
106
- unsigned seq;
107
- boost::interprocess::interprocess_mutex bufferMutex;
+ std::atomic_uint seq;
+ SpinLock bufferMutex;
108
char userName[USERNAME_LENGTH + 1]; // \0 if has PROFILE_ANY_ATTACHMENT
109
alignas(FB_ALIGNMENT) UCHAR buffer[4096];
110
};
0 commit comments