Author: Armin Rigo <ar...@tunes.org> Branch: stm-thread-2 Changeset: r61324:a821fcfdb066 Date: 2013-02-16 16:14 +0100 http://bitbucket.org/pypy/pypy/changeset/a821fcfdb066/
Log: Kill the section about signals. diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -3,32 +3,6 @@ ------------------------------------------------------------ -signal module: plan: - - signal handler: - - d = main thread's thread_descriptor - d->reads_size_limit = GOT_SIGNAL ( = -1) - this makes stm_should_break_transaction(d) return 1 - - - def _runs_normal_handler(): - if rstm.should_break_transaction(): - if d->reads_size_limit == GOT_SIGNAL: - checksignals() - return not rstm.should_break_transaction() - return False - return True - - - def checksignals(): - if d->reads_size_limit == GOT_SIGNAL: - turn inevitable - reset d->reads_size_limit - handle the signal - ------------------------------------------------------------- - after an abort, keep old global_to_local and access it using special code ------------------------------------------------------------ _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit