Vladislav Shchapov

Results 208 comments of Vladislav Shchapov

@grisumbras, you're right, pragma doesn't work. Linker flag required.

@klemens-morgenstern All asserts or not? https://github.com/chriskohlhoff/asio/blob/8869d25ae2c7eb280ee6048e86b4e3d44f257323/asio/include/asio/experimental/impl/coro.hpp#L1014 https://github.com/chriskohlhoff/asio/blob/8869d25ae2c7eb280ee6048e86b4e3d44f257323/asio/include/asio/experimental/impl/coro.hpp#L1036 https://github.com/chriskohlhoff/asio/blob/8869d25ae2c7eb280ee6048e86b4e3d44f257323/asio/include/asio/experimental/impl/coro.hpp#L1086 https://github.com/chriskohlhoff/asio/blob/8869d25ae2c7eb280ee6048e86b4e3d44f257323/asio/include/asio/experimental/impl/coro.hpp#L1138

@emabiz, @chriskohlhoff, I think the problem is synchronization. I can't reproduce the problem with "-fsanitize=leak" enabled.

@emabiz > Is it possible to configure asio in some way to have better performances under linux? On Linux use dedicated io_context per thread, instead of shared io_context for multiple...

@emabiz After calling the ``malloc_trim`` function, htop shows 0% memory usage. This is not asio issue. This is default behaviour for glibc allocator. By default glibc allocator does not release...

@chriskohlhoff, Boost 1.79 is released with Asio 1.22.2 (https://www.boost.org/users/history/version_1_79_0.html, https://www.boost.org/doc/libs/1_79_0/doc/html/boost_asio/history.html)

Another hang: https://github.com/oneapi-src/oneTBB/runs/4919469037?check_suite_focus=true

I was able to reproduce this bug locally. Commit: bc7e83a2f081868ef6bd05acbdc767da5e0a0af3 Compiler: Visual Studio 2019 14.29 C++: 20 Arch: Win32 OS: Windows 7 SP1 with all updates RAM: 4GB CPU: 2...

Compile and link command with all options: ``test_collaborative_call_once.exe``: ``` ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x86\CL.exe /c /IF:\...\3rdparty\onetbb\src\test\.. /IF:\...\3rdparty\onetbb\src\test /IF:\...\3rdparty\onetbb\src\src\tbb\..\..\include /Zi /W4 /WX /diagnostics:column /O2 /Ob2 /Oy- /GL /D WIN32 /D...

Build without LTO: ``` cd C:\tmp\oneTBB-323260671b40db33c9fc0d66d1f1eed6ecc82ce2\build\vc142_win32 cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_FLAGS_INIT="/D_WIN32_WINNT=0x0601" -G "Visual Studio 16 2019" -A Win32 -T v142,version=14.29 ../.. cmake --build . --config Release -v -j 2 ctest --build-config...