MCPcopy Create free account
hub / github.com/D4stiny/PeaceMaker / PopAlert

Method PopAlert

PeaceMaker Kernel/AlertQueue.cpp:90–100  ·  view source on GitHub ↗

Pop an alert from the queue of alerts. Follows FI-FO. @return The first in queued alert. */

Source from the content-addressed store, hash-verified

88 @return The first in queued alert.
89*/
90PBASE_ALERT_INFO
91AlertQueue::PopAlert (
92 VOID
93 )
94{
95 if (this->destroying)
96 {
97 return NULL;
98 }
99 return RCAST<PBASE_ALERT_INFO>(ExInterlockedRemoveHeadList(RCAST<PLIST_ENTRY>(&this->alertsHead), this->alertsLock));
100}
101
102/**
103 Check if the queue of alerts is empty.

Callers 2

ThreadUpdateTablesMethod · 0.45
IOCTLDeviceControlMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected