| 6002 | } |
| 6003 | |
| 6004 | void moduleReleaseGIL(int fServerThread, int fExclusive) { |
| 6005 | if (FModuleCallBackLock(fServerThread)) { |
| 6006 | return; |
| 6007 | } |
| 6008 | |
| 6009 | if (fServerThread) |
| 6010 | { |
| 6011 | s_moduleGIL.releaseRead(); |
| 6012 | } |
| 6013 | else |
| 6014 | { |
| 6015 | s_moduleGIL.releaseWrite(fExclusive); |
| 6016 | } |
| 6017 | } |
| 6018 | |
| 6019 | int moduleGILAcquiredByModule(void) { |
| 6020 | return s_moduleGIL.hasWriter(); |
no test coverage detected