azure-sdk-for-cpp/sdk/core
Larry Osterman 165eace629
AMQP Stack polls for operations in a background thread. (#4914)
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>
2023-09-13 11:12:46 -07:00
..
azure-core AMQP Stack polls for operations in a background thread. (#4914) 2023-09-13 11:12:46 -07:00
azure-core-amqp AMQP Stack polls for operations in a background thread. (#4914) 2023-09-13 11:12:46 -07:00
azure-core-test Storage/TestProxy playback mode ignore storage sas version (#4941) 2023-09-12 05:00:21 +00:00
azure-core-tracing-opentelemetry Clean up version requirements (#4814) 2023-07-20 16:03:57 -07:00
perf Use standard syntax for MIT license (#4786) 2023-07-12 22:37:36 -07:00
ci.yml Update core ci.yml so that some CI pipeline runs when modifying markdown files at the root of the repo (#4900) 2023-08-18 14:51:46 -07:00
CMakeLists.txt Use standard syntax for MIT license (#4786) 2023-07-12 22:37:36 -07:00
perf-tests.yml [Perf] Refactor tests.yml into one file per package per language (#4270) 2023-02-09 21:18:03 -08:00
perf.yml Enable profiling in perf piplines. (#4398) 2023-03-08 12:28:13 -08:00