1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
This commit is contained in:
Joshua Kriegshauser
2024-09-24 13:48:40 -07:00
parent 5213c53bb0
commit 201dcb6a8a
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -862,7 +862,7 @@ private:
// Send through the pipe to ensure safe reads
for( size_t offset = 0; offset != size; /*in loop*/ )
{
size_t sendsize = std::min( size - offset, (size_t)(ptrdiff_t)m_pipeBufSize );
size_t sendsize = size - offset;
ssize_t result1, result2;
while( ( result1 = write( m_pipe[1], p + offset, sendsize ) ) < 0 && errno == EINTR )
/* retry */;