Home
last modified time | relevance | path

Searched refs:set_wakeup_fd (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_signal.py150 signal.set_wakeup_fd(signum=signal.SIGINT)
154 signal.set_wakeup_fd(signal.SIGINT, False)
159 signal.set_wakeup_fd, fd)
166 signal.set_wakeup_fd, fd)
180 signal.set_wakeup_fd(w1)
181 self.assertEqual(signal.set_wakeup_fd(w2), w1)
182 self.assertEqual(signal.set_wakeup_fd(-1), w2)
183 self.assertEqual(signal.set_wakeup_fd(-1), -1)
196 signal.set_wakeup_fd(fd1)
197 self.assertEqual(signal.set_wakeup_fd(fd2), fd1)
[all …]
/external/python/cpython3/Lib/multiprocessing/
Dforkserver.py202 signal.set_wakeup_fd(sig_w)
301 signal.set_wakeup_fd(-1)
/external/python/cpython2/Lib/test/
Dtest_signal.py239 self.assertRaises(ValueError, signal.set_wakeup_fd, fd)
288 self.old_wakeup = signal.set_wakeup_fd(self.write)
291 signal.set_wakeup_fd(self.old_wakeup)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py76 m_signal.set_wakeup_fd.side_effect = ValueError
116 def set_wakeup_fd(fd): function
119 m_signal.set_wakeup_fd = set_wakeup_fd
146 self.assertEqual(1, m_signal.set_wakeup_fd.call_count)
162 self.assertEqual(2, m_signal.set_wakeup_fd.call_count)
173 self.assertTrue(m_signal.set_wakeup_fd.called)
186 m_signal.set_wakeup_fd.reset_mock()
190 self.assertFalse(m_signal.set_wakeup_fd.called)
203 m_signal.set_wakeup_fd.side_effect = ValueError
242 m_signal.set_wakeup_fd.reset_mock()
[all …]
/external/python/cpython3/Lib/asyncio/
Dunix_events.py95 signal.set_wakeup_fd(self._csock.fileno())
114 signal.set_wakeup_fd(-1)
159 signal.set_wakeup_fd(-1)
Dproactor_events.py632 signal.set_wakeup_fd(self._csock.fileno())
679 signal.set_wakeup_fd(-1)
/external/python/cpython2/Doc/library/
Dsignal.rst194 .. function:: set_wakeup_fd(fd)
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst548 New argument warn_on_full_buffer to signal.set_wakeup_fd lets you control
D3.5.0a1.rst2528 signal.set_wakeup_fd(fd) now raises an exception if the file descriptor is
2819 On Windows, signal.set_wakeup_fd() now also supports sockets. A side effect
2989 signal.set_wakeup_fd() now raises an OSError instead of a ValueError on
D3.9.0a1.rst1247 asynci.ProactorEventLoop.close() now only calls signal.set_wakeup_fd() in
/external/python/cpython3/Doc/library/
Dsignal.rst457 .. function:: set_wakeup_fd(fd, *, warn_on_full_buffer=True)
/external/python/cpython2/Doc/c-api/
Dexceptions.rst363 This is equivalent to :func:`signal.set_wakeup_fd` in Python, but without any
/external/python/cpython3/Doc/c-api/
Dexceptions.rst539 This is equivalent to :func:`signal.set_wakeup_fd` in Python, but without any
/external/python/cpython2/Misc/NEWS.d/
D2.7.4rc1.rst1098 On Windows in signal.set_wakeup_fd, validate the file descriptor argument.
/external/python/cpython2/Doc/whatsnew/
D2.6.rst2318 Calling ``signal.set_wakeup_fd(fd)`` sets a file descriptor
2325 will be passed to :func:`set_wakeup_fd`, and the readable descriptor
/external/python/cpython3/Doc/whatsnew/
D2.6.rst2322 Calling ``signal.set_wakeup_fd(fd)`` sets a file descriptor
2329 will be passed to :func:`set_wakeup_fd`, and the readable descriptor
D3.5.rst1654 On Windows, the :func:`~signal.set_wakeup_fd` function now also supports
D3.7.rst1264 The new *warn_on_full_buffer* argument to the :func:`signal.set_wakeup_fd`
/external/python/cpython3/Misc/
DHISTORY4060 registered with ``signal.set_wakeup_fd()``, report an exception instead
5447 - Issue #16992: On Windows in signal.set_wakeup_fd, validate the file