]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOEventSource.cpp
xnu-344.tar.gz
[apple/xnu.git] / iokit / Kernel / IOEventSource.cpp
index d90fb2f623b340acdebfdf51b56dc5d29c8466ef..44bdcf52eabc0730f9c78cefdba31a6a5ff00e75 100644 (file)
@@ -43,6 +43,16 @@ OSMetaClassDefineReservedUnused(IOEventSource, 5);
 OSMetaClassDefineReservedUnused(IOEventSource, 6);
 OSMetaClassDefineReservedUnused(IOEventSource, 7);
 
+/* inline function implementations */
+void IOEventSource::signalWorkAvailable()      { workLoop->signalWorkAvailable(); }
+void IOEventSource::openGate()                 { workLoop->openGate(); }
+void IOEventSource::closeGate()                        { workLoop->closeGate(); }
+bool IOEventSource::tryCloseGate()             { return workLoop->tryCloseGate(); }
+int IOEventSource::sleepGate(void *event, UInt32 type)
+        { return workLoop->sleepGate(event, type); }
+void IOEventSource::wakeupGate(void *event, bool oneThread)
+        { workLoop->wakeupGate(event, oneThread); }
+
 bool IOEventSource::init(OSObject *inOwner,
                          Action inAction = 0)
 {