]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOEventSource.cpp
xnu-517.9.5.tar.gz
[apple/xnu.git] / iokit / Kernel / IOEventSource.cpp
index d90fb2f623b340acdebfdf51b56dc5d29c8466ef..8c469db0943915bc80eee8e17170e534410863f1 100644 (file)
@@ -43,8 +43,18 @@ 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)
+                         Action inAction)
 {
     if (!inOwner)
         return false;