- 17 Agu, 2013 2 kayıt (commit)
-
-
Antoine Pitrou yazdı
(trying to fix a failure on the FreeBSD 9.0 buildbot)
-
Antoine Pitrou yazdı
Issue #16105: When a signal handler fails to write to the file descriptor registered with ``signal.set_wakeup_fd()``, report an exception instead of ignoring the error.
-
- 03 Agu, 2013 1 kayıt (commit)
-
-
Nick Coghlan yazdı
signal.getsignal returns None for some signals if faulthandler is enabled (Patch by Jeremy Kloth)
-
- 17 Haz, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on AIX.
-
- 18 Ock, 2013 3 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
- 18 Ara, 2012 2 kayıt (commit)
-
-
Andrew Svetlov yazdı
Patch by Serhiy Storchaka.
-
Andrew Svetlov yazdı
Patch by Serhiy Storchaka.
-
- 17 Ara, 2012 2 kayıt (commit)
-
-
Andrew Svetlov yazdı
-
Andrew Svetlov yazdı
-
- 18 Kas, 2012 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 05 Eki, 2012 1 kayıt (commit)
-
-
Jesus Cea yazdı
-
- 02 Mar, 2012 1 kayıt (commit)
-
-
Victor Stinner yazdı
Add a private API to convert an int or float to a C timespec structure.
-
- 02 Eki, 2011 1 kayıt (commit)
-
-
Charles-François Natali yazdı
real-time signals.
-
- 04 Tem, 2011 5 kayıt (commit)
-
-
Victor Stinner yazdı
When signals are unblocked, pending signal ared delivered in the reverse order of their number (also on Linux, not only on FreeBSD 6). Don't sort signals by their number if signals were not blocked (test_signum).
-
Victor Stinner yazdı
On FreeBSD 6, when signals are unblocked, FreeBSD 6 delivers signals in the reverse order of their number.
-
Victor Stinner yazdı
* Don't create a thread at startup anymore to initialize the pthread library: it changes the behaviour of many functions related to signal handling like sigwait() * Reenable test_sigtimedwait_poll() on FreeBSD 6
-
Victor Stinner yazdı
-
Victor Stinner yazdı
fresh process with only one thread and to not change signal handling of the parent process.
-
- 01 Tem, 2011 2 kayıt (commit)
-
-
Victor Stinner yazdı
Move also the "ready" trigger after the installation of the signal handler and the call to siginterrupt(). Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough, but some of our buildbots are really slow (especially the FreeBSD 6 VM).
-
Victor Stinner yazdı
Backport commits 968b9ff9a059 and aff0a7b0cb12 from the default branch to 3.2 branch. Extract of the changelog messages: "The previous tests used time.sleep() to synchronize two processes. If the host was too slow, the test could fail. The new tests only use one process, but they use a subprocess to: - have only one thread - have a timeout on the blocking read (select cannot be used in the test, select always fail with EINTR, the kernel doesn't restart it) - not touch signal handling of the parent process" and "Add a basic synchronization code between the child and the parent processes: the child writes "ready" to stdout." I replaced .communicate(timeout=3.0) by an explicit waiting loop using Popen.poll().
-
- 29 Haz, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
... instead of using fork(): sig*wait*() functions behave differently (not correctly) after a fork, especially on FreeBSD 6. Skip also test_sigtimedwait_poll() on FreeBSD 6 because of a kernel bug.
-
- 25 Haz, 2011 2 kayıt (commit)
-
-
Ross Lagerwall yazdı
-
Ross Lagerwall yazdı
-
- 24 Haz, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
On FreeBSD6, pthread_kill() doesn't work on the main thread before the creation of the first thread. Create therefore a dummy thread (no-op) a startup to initialize the pthread library. Add also a test for this use case, test written by Charles-François Natali.
-
- 22 Haz, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
Add a basic synchronization code between the child and the parent processes: the child writes "ready" to stdout.
-
- 20 Haz, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
The previous tests used time.sleep() to synchronize two processes. If the host was too slow, the test could fail. The new tests only use one process, but they use a subprocess to: - have only one thread - have a timeout on the blocking read (select cannot be used in the test, select always fail with EINTR, the kernel doesn't restart it) - not touch signal handling of the parent process
-
- 13 Haz, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
Spawn a new process instead of using fork(). Patch written by Charles-François Natali.
-
- 10 Haz, 2011 3 kayıt (commit)
-
-
Victor Stinner yazdı
The new tests now requires pthread_sigmask(). Skip the test if the function is missing, e.g. if Python is compiled without threads.
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Block the signal before calling sigwait(). Use os.fork() to ensure that we have only one thread. Initial patch written by Charles-François Natali.
-
- 09 Haz, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
Initial patch by Charles-François Natali.
-
- 31 May, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
Tthe signal delivery order is not portable or reliable.
-
- 30 May, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
threading.get_ident() and document it. This function was used by _thread.get_ident().
-
- 25 May, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
twice, it now writes the number of the second signal into the wakeup fd.
-
- 08 May, 2011 2 kayıt (commit)
-
-
Victor Stinner yazdı
I don't think that we still need it.
-
Victor Stinner yazdı
instead of a nul byte into the wakeup file descriptor. So it is possible to wait more than one signal and know which signals were raised.
-
- 07 May, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
signal module.
-
- 04 May, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
Update the doc. Refactor also related tests.
-