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

Method eventCallbackFunction

src/yvalve/why.cpp:2886–2895  ·  view source on GitHub ↗

IEventCallback implementation

Source from the content-addressed store, hash-verified

2884
2885 // IEventCallback implementation
2886 virtual void eventCallbackFunction(unsigned int length, const UCHAR* events)
2887 {
2888 try
2889 {
2890 memcpy(buffer, events, length);
2891 sem.release();
2892 }
2893 catch (const Exception&)
2894 { }
2895 }
2896
2897 UCHAR* buffer;
2898 Semaphore sem;

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected