| 257 | } |
| 258 | |
| 259 | static void ReleaseSocket(MessageSocket* s) |
| 260 | { |
| 261 | { |
| 262 | DM_SPINLOCK_SCOPED_LOCK(g_MessageSpinlock); |
| 263 | --s->m_RefCount; |
| 264 | |
| 265 | if (s->m_RefCount > 0) |
| 266 | { |
| 267 | return; |
| 268 | } |
| 269 | } |
| 270 | DisposeSocket(s); |
| 271 | } |
| 272 | |
| 273 | static MessageSocket* AcquireSocket(HSocket socket) |
| 274 | { |
no test coverage detected