| 164 | } |
| 165 | |
| 166 | void Put( const T& item ) |
| 167 | { |
| 168 | if( started ) |
| 169 | { |
| 170 | g_messages.AddMessage( "Don't call WorkQueue2::Put after WorkQueue2::Join!" ); |
| 171 | return; |
| 172 | } |
| 173 | PutPtr( new T( item ) ); |
| 174 | } |
| 175 | |
| 176 | void Join() |
| 177 | { |
nothing calls this directly
no test coverage detected