MCPcopy Create free account
hub / github.com/360Controller/360Controller / LockRequired

Class LockRequired

360Controller/_60Controller.cpp:38–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#define super IOService
37
38class LockRequired
39{
40private:
41 IOLock *_lock;
42public:
43 LockRequired(IOLock *lock)
44 {
45 _lock = lock;
46 IOLockLock(_lock);
47 }
48 ~LockRequired()
49 {
50 IOLockUnlock(_lock);
51 }
52};
53
54// Find the maximum packet size of this pipe
55static UInt32 GetMaxPacketSize(IOUSBPipe *pipe)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected