(thread *phpThread)
| 189 | } |
| 190 | |
| 191 | func detachRegularThread(thread *phpThread) { |
| 192 | regularThreadMu.Lock() |
| 193 | for i, t := range regularThreads { |
| 194 | if t == thread { |
| 195 | regularThreads = append(regularThreads[:i], regularThreads[i+1:]...) |
| 196 | break |
| 197 | } |
| 198 | } |
| 199 | regularThreadMu.Unlock() |
| 200 | } |
no outgoing calls
no test coverage detected