27aad09bd4
* SWDEV-518831 - fix streams' sync issue in mthreads 1. Fix sync issue of null stream and non-null streams in multithreads. 2. Remove assert(GetSubmissionBatch() == nullptr) as it is invalid in multithreads. 3. Update getActiveQueues() to deal with the state of being terminated.