There are two significant parts to this fix. The first is that the Connection object now has a method EnableAsyncOperation which registers the connection with a background thread which polls the connection. The EnableAsyncOperation needs to be callable from outside the connection because in normal client operation, the calls to open the connection are all internal to uAMQP. That means that the message sender and receiver need to call it when they're opened (and closed). The other major part of this change is that the AsyncOperationQueue now has a WaitForRequest API which does not normally poll (there is a test hook which enables polling but that is not normally used in most scenarios). The other part of this change fixes some concurrency issues associated with the Log::Stream functionality. Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> * Update sdk/core/azure-core/src/logger.cpp Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> * Update sdk/core/azure-core/test/ut/CMakeLists.txt Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> * Update sdk/core/azure-core/test/ut/logging_test.cpp Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> * Added ASAN as an option, converted transports to be bases to ensure consistancy --------- Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| azure-core | ||
| azure-core-amqp | ||
| azure-core-test | ||
| azure-core-tracing-opentelemetry | ||
| perf | ||
| ci.yml | ||
| CMakeLists.txt | ||
| perf-tests.yml | ||
| perf.yml | ||