[D-runtime] [D-Programming-Language/druntime] 66a083: remove CRLF in monitor_.d

GitHub via D-runtime d-runtime at puremagic.com
Wed May 20 05:30:38 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 66a0835713edbcfc4139b5e120fb66ca09bbf7cf
      https://github.com/D-Programming-Language/druntime/commit/66a0835713edbcfc4139b5e120fb66ca09bbf7cf
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-05-17 (Sun, 17 May 2015)

  Changed paths:
    M src/rt/monitor_.d

  Log Message:
  -----------
  remove CRLF in monitor_.d


  Commit: d50aba0083b03659f60c3f157a674d9846d8228f
      https://github.com/D-Programming-Language/druntime/commit/d50aba0083b03659f60c3f157a674d9846d8228f
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-05-17 (Sun, 17 May 2015)

  Changed paths:
    M src/rt/monitor_.d

  Log Message:
  -----------
  fix Issue 14573 - classes without destructor leak monitor/mutex

- set finalize bit when constructing the monitor


  Commit: 70b3536ddd06e8e1afb269b88ed3298ec03b8798
      https://github.com/D-Programming-Language/druntime/commit/70b3536ddd06e8e1afb269b88ed3298ec03b8798
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-05-17 (Sun, 17 May 2015)

  Changed paths:
    M src/rt/dmain2.d
    M src/rt/monitor_.d

  Log Message:
  -----------
  cleanup and rewrite rt.monitor

- fix race condition (incorrect double checked locking)
- optimistically init mutex before locking global mutex
  to reduce contention
- remove pointless code duplication of Windows/Posix implementation
- move implementation details into private D functions
- use shared(Monitor)* whenever dealing with an unsynchronized instance
  and Monitor* when it's already externally synchronized
- modernize code for better readability
- drop using STI/STD style C constructors (called by rt_init/rt_term)


  Commit: 0b41a6205361382930272813a5f6a2baae0c456a
      https://github.com/D-Programming-Language/druntime/commit/0b41a6205361382930272813a5f6a2baae0c456a
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-05-17 (Sun, 17 May 2015)

  Changed paths:
    M src/rt/critical_.d
    M src/rt/dmain2.d
    M src/rt/monitor_.d

  Log Message:
  -----------
  cleanup and rewrite rt.critical_

- reuse mutex declarations from rt.monitor_
- fix race condition (incorrect double checked locking)
- modernize code for readability
- use shared(D_CRITICAL_SECTION)* when dealing with
  unsynchronized data
- replace STI/STD style C constructors
- fix Issue 6607
- hopefully fix Issue 14584 - spurious autotester deadlocks


  Commit: 17ba811ef3efab089408638f099eef049e85b2ba
      https://github.com/D-Programming-Language/druntime/commit/17ba811ef3efab089408638f099eef049e85b2ba
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M src/rt/critical_.d
    M src/rt/dmain2.d
    M src/rt/monitor_.d

  Log Message:
  -----------
  Merge pull request #1274 from MartinNowak/fix14584

cleanup and rewrite rt.critical_


Compare: https://github.com/D-Programming-Language/druntime/compare/fe4fe8b08173...17ba811ef3ef


More information about the D-runtime mailing list