| 73 | |
| 74 | |
| 75 | void cSocketThreads::RemoveClient(const cCallback * a_Client) |
| 76 | { |
| 77 | // Remove the associated socket and the client from processing |
| 78 | |
| 79 | cCSLock Lock(m_CS); |
| 80 | for (cSocketThreadList::iterator itr = m_Threads.begin(); itr != m_Threads.end(); ++itr) |
| 81 | { |
| 82 | if ((*itr)->RemoveClient(a_Client)) |
| 83 | { |
| 84 | return; |
| 85 | } |
| 86 | } // for itr - m_Threads[] |
| 87 | |
| 88 | ASSERT(!"Removing an unknown client"); |
| 89 | } |
| 90 | |
| 91 | |
| 92 |
no test coverage detected