1. 30 Haz, 2017 1 kayıt (commit)
  2. 28 Haz, 2017 1 kayıt (commit)
    • Antoine Pitrou's avatar
      bpo-30703: Improve signal delivery (#2415) · c08177a1
      Antoine Pitrou yazdı
      * Improve signal delivery
      
      Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.
      
      * Remove unused function
      
      * Improve comments
      
      * Add stress test
      
      * Adapt for --without-threads
      
      * Add second stress test
      
      * Add NEWS blurb
      
      * Address comments @haypo
      c08177a1
  3. 27 May, 2017 1 kayıt (commit)
  4. 16 May, 2017 1 kayıt (commit)
    • Nathaniel J. Smith's avatar
      bpo-30038: fix race condition in signal delivery + wakeup fd (#1082) · 4ae01496
      Nathaniel J. Smith yazdı
      Before, it was possible to get the following sequence of
      events (especially on Windows, where the C-level signal handler for
      SIGINT is run in a separate thread):
      
      - SIGINT arrives
      - trip_signal is called
      - trip_signal writes to the wakeup fd
      - the main thread wakes up from select()-or-equivalent
      - the main thread checks for pending signals, but doesn't see any
      - the main thread drains the wakeup fd
      - the main thread goes back to sleep
      - trip_signal sets is_tripped=1 and calls Py_AddPendingCall to notify
        the main thread the it should run the Python-level signal handler
      - the main thread doesn't notice because it's asleep
      
      This has been causing repeated failures in the Trio test suite:
        https://github.com/python-trio/trio/issues/119
      4ae01496
  5. 16 Nis, 2017 1 kayıt (commit)
  6. 23 Mar, 2017 1 kayıt (commit)
    • Serhiy Storchaka's avatar
      bpo-6532: Make the thread id an unsigned integer. (#781) · aefa7ebf
      Serhiy Storchaka yazdı
      * bpo-6532: Make the thread id an unsigned integer.
      
      From C API side the type of results of PyThread_start_new_thread() and
      PyThread_get_thread_ident(), the id parameter of
      PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState
      changed from "long" to "unsigned long".
      
      * Restore a check in thread_get_ident().
      aefa7ebf
  7. 01 Eki, 2016 1 kayıt (commit)
  8. 17 Eyl, 2016 1 kayıt (commit)
  9. 08 Eyl, 2016 2 kayıt (commit)
  10. 06 Eyl, 2016 1 kayıt (commit)
  11. 07 Tem, 2016 1 kayıt (commit)
  12. 10 Nis, 2016 1 kayıt (commit)
  13. 06 Nis, 2016 1 kayıt (commit)
  14. 24 Ara, 2015 1 kayıt (commit)
  15. 16 May, 2015 2 kayıt (commit)
  16. 01 Nis, 2015 1 kayıt (commit)
  17. 30 Mar, 2015 3 kayıt (commit)
  18. 27 Mar, 2015 1 kayıt (commit)
  19. 20 Mar, 2015 1 kayıt (commit)
    • Victor Stinner's avatar
      Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retried · a453cd8d
      Victor Stinner yazdı
      when interrupted by a signal not in the *sigset* parameter, if the signal
      handler does not raise an exception. signal.sigtimedwait() recomputes the
      timeout with a monotonic clock when it is retried.
      
      Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't
      raise InterruptedError anymore if it is interrupted by a signal not in its
      sigset parameter.
      a453cd8d
  20. 08 Mar, 2015 1 kayıt (commit)
  21. 21 Şub, 2015 1 kayıt (commit)
  22. 12 Şub, 2015 1 kayıt (commit)
  23. 20 Kas, 2014 1 kayıt (commit)
  24. 27 Agu, 2014 1 kayıt (commit)
  25. 29 Tem, 2014 1 kayıt (commit)
  26. 24 Tem, 2014 2 kayıt (commit)
  27. 21 Tem, 2014 1 kayıt (commit)
  28. 04 Nis, 2014 1 kayıt (commit)
  29. 16 Şub, 2014 1 kayıt (commit)
  30. 09 Şub, 2014 1 kayıt (commit)
  31. 18 Agu, 2013 1 kayıt (commit)
  32. 17 Agu, 2013 1 kayıt (commit)
  33. 22 Tem, 2013 1 kayıt (commit)
  34. 04 May, 2013 1 kayıt (commit)
  35. 17 Nis, 2013 1 kayıt (commit)