| 4 | namespace Base { |
| 5 | |
| 6 | Event::Event(bool autoReset) |
| 7 | { |
| 8 | _event = CreateEventW(NULL, autoReset ? FALSE : TRUE, FALSE, NULL); |
| 9 | if (!_event) |
| 10 | throw std::exception("cannot create event"); |
| 11 | } |
| 12 | |
| 13 | |
| 14 | Event::~Event() |
nothing calls this directly
no outgoing calls
no test coverage detected