Closed lifeformg closed 3 months ago
I did some more tests, replacing async_mmap
with mmap
also generates the same warning. What's even stranger is that when I reduce the number of elements read from mmap (reducing to 10), the warning message disappears, and when reading more elements, the number of warnings also increases. (In the example above, I read 65536 elements)
I wrote a function to read data from async_mmap into a stream, the program seems to run fine, but gives the following warning message at the end:
The code is as follows:
The output indicates that count_req is equal to count_req.