MCPcopy Create free account
hub / github.com/ElementsProject/elements / MoveTo

Method MoveTo

src/sync.h:344–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342 }
343
344 void MoveTo(CSemaphoreGrant& grant)
345 {
346 grant.Release();
347 grant.sem = sem;
348 grant.fHaveGrant = fHaveGrant;
349 fHaveGrant = false;
350 }
351
352 CSemaphoreGrant() : sem(nullptr), fHaveGrant(false) {}
353

Callers 1

OpenNetworkConnectionMethod · 0.80

Calls 1

ReleaseMethod · 0.45

Tested by

no test coverage detected