| 98 | } |
| 99 | template <typename TT> |
| 100 | void gather ( TT && tt ) { |
| 101 | lock_guard<mutex> guard(mCompleteMutex); |
| 102 | for ( auto & f : pipe ) { |
| 103 | tt(f.data, f.type, f.from ? f.from : owner); |
| 104 | } |
| 105 | pipe.clear(); |
| 106 | } |
| 107 | template <typename TT> |
| 108 | void gatherEx ( Context * ctx, TT && tt ) { |
| 109 | lock_guard<mutex> guard(mCompleteMutex); |
nothing calls this directly
no test coverage detected