PIMapIterators refactoring
PIChunkStream some refactoring
This commit is contained in:
@@ -140,8 +140,8 @@ PIByteArray PIIntrospection::packThreads() {
|
||||
PIMap<PIThread*, PIIntrospectionThreads::ThreadInfo> & tm(p->threads);
|
||||
auto it = tm.makeIterator();
|
||||
while (it.next()) {
|
||||
it.valueRef().classname = PIStringAscii(it.key()->className());
|
||||
it.valueRef().name = it.key()->name();
|
||||
it.value().classname = PIStringAscii(it.key()->className());
|
||||
it.value().name = it.key()->name();
|
||||
}
|
||||
ret << tm.values();
|
||||
p->mutex.unlock();
|
||||
|
||||
Reference in New Issue
Block a user