[M3commit] [modula3/cm3] 8237c8: Fix assertion failure when waiting thread gets bot...

Rodney Bates rodney.m.bates at acm.org
Sun Jun 28 17:35:03 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 8237c89cefce5ac428d870ce57c33e49ddb4302a
      https://github.com/modula3/cm3/commit/8237c89cefce5ac428d870ce57c33e49ddb4302a
  Author: Rodney Bates <rodney.m.bates at acm.org>
  Date:   2015-06-28 (Sun, 28 Jun 2015)

  Changed paths:
    M m3-libs/m3core/src/thread/PTHREAD/ThreadPThread.m3

  Log Message:
  -----------
  Fix assertion failure when waiting thread gets both Signaled and Alerted.

Using pthreads, in ThreadPThread.m3, if a thread were waiting in XWait, on a
M3 Condition variable, and it got both Signaled and Alerted, before XWait
reacquired the pthread mutex of the waiting thread's activation, an
overzealous assertion was failing.  This was showing up consistently
when formsedit tried to terminate.

 Changes to be committed:

	modified:   ThreadPThread.m3


  Commit: 03aabbaa4f5514e0f040d59e53936832c6d7c26b
      https://github.com/modula3/cm3/commit/03aabbaa4f5514e0f040d59e53936832c6d7c26b
  Author: Rodney Bates <rodney.m.bates at acm.org>
  Date:   2015-06-28 (Sun, 28 Jun 2015)

  Changed paths:
    M m3-libs/m3core/src/m3core.h
    M m3-sys/cminstall/src/config-no-install/AMD64_DARWIN
    A m3-sys/cminstall/src/config-no-install/FreeBSD-old.common
    M m3-sys/cminstall/src/config-no-install/FreeBSD.common
    M m3-sys/cminstall/src/config-no-install/cm3cfg.common
    M m3-sys/llvm/src/M3CG_LLVM.m3
    M m3-sys/m3back/src/M3C.m3
    M m3-sys/m3tests/src/TestC.c
    M m3-sys/m3tests/src/p2/p251/Main.m3
    M scripts/python/pylib.py
    M scripts/python/upgrade.py

  Log Message:
  -----------
  Merge branch 'master' of https://github.com/modula3/cm3


Compare: https://github.com/modula3/cm3/compare/55599257ea54...03aabbaa4f55


More information about the M3commit mailing list