1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

Fixed bug in pipe/unpipe logic that could cause 100% cpu usage

This commit is contained in:
Bryan Roe
2020-12-17 15:03:57 -08:00
parent 33b4ea5385
commit 9ec8e31dea
2 changed files with 26 additions and 7 deletions

View File

@@ -54,6 +54,11 @@ typedef struct ILibDuktape_readableStream
#endif
int endRelayed;
int pipeInProgress;
#ifdef WIN32
DWORD pipedThreadID;
#else
pthread_t pipedThreadID;
#endif
int unpipeInProgress;
int bypassValue;
int noPropagateEnd;