MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / Notification

Method Notification

test/common/gtest/gtest.cpp:8838–8844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8836}
8837
8838Notification::Notification()
8839 : event_(::CreateEvent(NULL, // Default security attributes.
8840 TRUE, // Do not reset automatically.
8841 FALSE, // Initially unset.
8842 NULL)) { // Anonymous event.
8843 GTEST_CHECK_(event_.Get() != NULL);
8844}
8845
8846void Notification::Notify() {
8847 GTEST_CHECK_(::SetEvent(event_.Get()) != FALSE);

Callers

nothing calls this directly

Calls 1

GetMethod · 0.80

Tested by

no test coverage detected