| 13 | |
| 14 | extern "C" { |
| 15 | int liballoc_lock() { |
| 16 | while(acquireTestLock(&liballocLock)) { asm("sti"); } // If for some reason liballoc is locked before the scheduler starts something probably went horribly wrong |
| 17 | return 0; |
| 18 | } |
| 19 | |
| 20 | int liballoc_unlock() { |
| 21 | releaseLock(&liballocLock); |
no outgoing calls
no test coverage detected