Home | History | Annotate | Download | only in multiprocessing

Lines Matching refs:win32

68 if sys.platform == 'win32':
181 if sys.platform != 'win32':
203 from _multiprocessing import win32
211 openmode = win32.PIPE_ACCESS_DUPLEX
212 access = win32.GENERIC_READ | win32.GENERIC_WRITE
215 openmode = win32.PIPE_ACCESS_INBOUND
216 access = win32.GENERIC_WRITE
219 h1 = win32.CreateNamedPipe(
221 win32.PIPE_TYPE_MESSAGE | win32.PIPE_READMODE_MESSAGE |
222 win32.PIPE_WAIT,
223 1, obsize, ibsize, win32.NMPWAIT_WAIT_FOREVER, win32.NULL
225 h2 = win32.CreateFile(
226 address, access, 0, win32.NULL, win32.OPEN_EXISTING, 0, win32.NULL
228 win32.SetNamedPipeHandleState(
229 h2, win32.PIPE_READMODE_MESSAGE, None, None
233 win32.ConnectNamedPipe(h1, win32.NULL)
235 if e.args[0] != win32.ERROR_PIPE_CONNECTED:
317 if sys.platform == 'win32':
325 handle = win32.CreateNamedPipe(
326 address, win32.PIPE_ACCESS_DUPLEX,
327 win32.PIPE_TYPE_MESSAGE | win32.PIPE_READMODE_MESSAGE |
328 win32.PIPE_WAIT,
329 win32.PIPE_UNLIMITED_INSTANCES, BUFSIZE, BUFSIZE,
330 win32.NMPWAIT_WAIT_FOREVER, win32.NULL
343 newhandle = win32.CreateNamedPipe(
344 self._address, win32.PIPE_ACCESS_DUPLEX,
345 win32.PIPE_TYPE_MESSAGE | win32.PIPE_READMODE_MESSAGE |
346 win32.PIPE_WAIT,
347 win32.PIPE_UNLIMITED_INSTANCES, BUFSIZE, BUFSIZE,
348 win32.NMPWAIT_WAIT_FOREVER, win32.NULL
353 win32.ConnectNamedPipe(handle, win32.NULL)
357 if e.args[0] not in (win32.ERROR_PIPE_CONNECTED,
358 win32.ERROR_NO_DATA):
375 win32.WaitNamedPipe(address, 1000)
376 h = win32.CreateFile(
377 address, win32.GENERIC_READ | win32.GENERIC_WRITE,
378 0, win32.NULL, win32.OPEN_EXISTING, 0, win32.NULL
381 if e.args[0] not in (win32.ERROR_SEM_TIMEOUT,
382 win32.ERROR_PIPE_BUSY) or _check_timeout(t):
389 win32.SetNamedPipeHandleState(
390 h, win32.PIPE_READMODE_MESSAGE, None, None