Lines Matching refs: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:
337 handle = win32.CreateNamedPipe(
338 address, win32.PIPE_ACCESS_DUPLEX,
339 win32.PIPE_TYPE_MESSAGE | win32.PIPE_READMODE_MESSAGE |
340 win32.PIPE_WAIT,
341 win32.PIPE_UNLIMITED_INSTANCES, BUFSIZE, BUFSIZE,
342 win32.NMPWAIT_WAIT_FOREVER, win32.NULL
355 newhandle = win32.CreateNamedPipe(
356 self._address, win32.PIPE_ACCESS_DUPLEX,
357 win32.PIPE_TYPE_MESSAGE | win32.PIPE_READMODE_MESSAGE |
358 win32.PIPE_WAIT,
359 win32.PIPE_UNLIMITED_INSTANCES, BUFSIZE, BUFSIZE,
360 win32.NMPWAIT_WAIT_FOREVER, win32.NULL
365 win32.ConnectNamedPipe(handle, win32.NULL)
369 if e.args[0] not in (win32.ERROR_PIPE_CONNECTED,
370 win32.ERROR_NO_DATA):
387 win32.WaitNamedPipe(address, 1000)
388 h = win32.CreateFile(
389 address, win32.GENERIC_READ | win32.GENERIC_WRITE,
390 0, win32.NULL, win32.OPEN_EXISTING, 0, win32.NULL
393 if e.args[0] not in (win32.ERROR_SEM_TIMEOUT,
394 win32.ERROR_PIPE_BUSY) or _check_timeout(t):
401 win32.SetNamedPipeHandleState(
402 h, win32.PIPE_READMODE_MESSAGE, None, None