MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / remove

Method remove

src/yvalve/utl.cpp:3381–3394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3379}
3380
3381void ThreadCleanup::remove(FPTR_VOID_PTR cleanup, void* arg)
3382{
3383 MutexLockGuard guard(cleanupMutex, FB_FUNCTION);
3384
3385 ThreadCleanup** ptr = findCleanup(cleanup, arg);
3386 if (!ptr)
3387 {
3388 return;
3389 }
3390
3391 ThreadCleanup* toDelete = *ptr;
3392 *ptr = toDelete->next;
3393 delete toDelete;
3394}
3395
3396class ThreadBuffer : public GlobalStorage
3397{

Callers 9

removeHandleFunction · 0.45
destroyMethod · 0.45
enterDtcMethod · 0.45
cleanupMethod · 0.45
timeThreadMethod · 0.45
startMethod · 0.45
stopMethod · 0.45
joinMethod · 0.45
destroyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected