mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Misc.
This commit is contained in:
parent
ab32517063
commit
44c469b51a
@ -29,7 +29,7 @@ private:
|
|||||||
FB_THREAD_ID thread;
|
FB_THREAD_ID thread;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ThreadBuffer(FB_THREAD_ID thr) : buffer_ptr(buffer), thread(thr) { }
|
explicit ThreadBuffer(FB_THREAD_ID thr) : buffer_ptr(buffer), thread(thr) { }
|
||||||
|
|
||||||
const char* alloc(const char* string, size_t& length)
|
const char* alloc(const char* string, size_t& length)
|
||||||
{
|
{
|
||||||
|
@ -129,7 +129,7 @@ namespace {
|
|||||||
class ThreadIdHolder
|
class ThreadIdHolder
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ThreadIdHolder(Jrd::Service::StatusStringsHelper& p) : strHelper(&p)
|
explicit ThreadIdHolder(Jrd::Service::StatusStringsHelper& p) : strHelper(&p)
|
||||||
{
|
{
|
||||||
MutexLockGuard guard(strHelper->mtx);
|
MutexLockGuard guard(strHelper->mtx);
|
||||||
strHelper->workerThread = getThreadId();
|
strHelper->workerThread = getThreadId();
|
||||||
|
Loading…
Reference in New Issue
Block a user