June 01, 2013 [D-runtime] [D-Programming-Language/druntime] 86c39a: simplify unittest for critical region | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/druntime Commit: 86c39a19cddc29435eff23d90e2678fc6cc9a82a https://github.com/D-Programming-Language/druntime/commit/86c39a19cddc29435eff23d90e2678fc6cc9a82a Author: Martin Nowak <code@dawg.eu> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/core/thread.d Log Message: ----------- simplify unittest for critical region Commit: 778879c7cf2c594b7ca65c7c31e1d06465ac3ad1 https://github.com/D-Programming-Language/druntime/commit/778879c7cf2c594b7ca65c7c31e1d06465ac3ad1 Author: Martin Nowak <code@dawg.eu> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/core/thread.d M src/core/thread.di Log Message: ----------- improve critical regions - use a fine grained mutex to negotiate critical regions and thread suspension - we no longer have to suspend & resume a thread that is in a critical region Commit: 8b7423387d9d9d3ae309fbf5c83e88e540df45d0 https://github.com/D-Programming-Language/druntime/commit/8b7423387d9d9d3ae309fbf5c83e88e540df45d0 Author: Martin Nowak <code@dawg.eu> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/core/thread.d Log Message: ----------- Thread.suspend must now be synchronous So remove the comments about a possible different implementation and actually check for sem_wait failure. Commit: 91cf7dde19f4e2df820fc3a7456b40129f45a899 https://github.com/D-Programming-Language/druntime/commit/91cf7dde19f4e2df820fc3a7456b40129f45a899 Author: Martin Nowak <code@dawg.eu> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/core/thread.d Log Message: ----------- eagerly allocate Thread locks Commit: 64601f4c2791cbc1ebade53ede06611b9976b31c https://github.com/D-Programming-Language/druntime/commit/64601f4c2791cbc1ebade53ede06611b9976b31c Author: Martin Nowak <code@dawg.eu> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/core/thread.d Log Message: ----------- exponentially increase wait time up to 10ms Commit: 88ccad0d6ebb7525853330ce506001ed81f08f39 https://github.com/D-Programming-Language/druntime/commit/88ccad0d6ebb7525853330ce506001ed81f08f39 Author: Martin Nowak <code@dawg.eu> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/core/thread.di Log Message: ----------- enable docs for critical regions Commit: 1b6a1f4b25669868843be678c7e2038d5762e1c3 https://github.com/D-Programming-Language/druntime/commit/1b6a1f4b25669868843be678c7e2038d5762e1c3 Author: Alex Rønne Petersen <alex@alexrp.com> Date: 2013-06-01 (Sat, 01 Jun 2013) Changed paths: M src/core/thread.d M src/core/thread.di Log Message: ----------- Merge pull request #499 from dawgfoto/criticalRegion improve critical region Compare: https://github.com/D-Programming-Language/druntime/compare/3167413e9327...1b6a1f4b2566 |
Copyright © 1999-2021 by the D Language Foundation