提交 2a6ea3fd 编写于 作者: M martin

6631966: (process) Raise Windows pipe buffer size an extra 24 bytes (win)

Reviewed-by: alanb, iris
上级 5d53bf09
......@@ -33,7 +33,12 @@
#include <windows.h>
#include <io.h>
#define PIPE_SIZE 4096
/* We try to make sure that we can read and write 4095 bytes (the
* fixed limit on Linux) to the pipe on all operating systems without
* deadlock. Windows 2000 inexplicably appears to need an extra 24
* bytes of slop to avoid deadlock.
*/
#define PIPE_SIZE (4096+24)
char *
extractExecutablePath(JNIEnv *env, char *source)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册