AcquireProgram acquires a slot from the program semaphore.
()
| 24 | |
| 25 | // AcquireProgram acquires a slot from the program semaphore. |
| 26 | func AcquireProgram() { programSemaphore <- struct{}{} } |
| 27 | |
| 28 | // ReleaseProgram releases a slot back to the program semaphore, clears |
| 29 | // per-program caches to allow GC of the program, and triggers GC. |
no outgoing calls