Remove azmq on send, make connect/bind blocking

This commit is contained in:
Alexey Rybalchenko
2019-03-04 17:06:56 +01:00
parent 95ec56dcf0
commit 763c21ffdd
3 changed files with 77 additions and 121 deletions

View File

@@ -43,6 +43,8 @@ Message::Message(boost::container::pmr::memory_resource* pmr, const size_t size)
, fPmr(pmr)
{
if (size) {
// static void* buffer = fPmr->allocate(size);
// fData = buffer;
fData = fPmr->allocate(size);
assert(fData);
}