File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
net.lecousin.core/src/main/java/net/lecousin/framework/concurrent/synch Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ is recommended for better performances on disk operations (detection of physical
28
28
- log.bridges.slf4j [ ![ Maven Central] ( https://img.shields.io/maven-central/v/net.lecousin.framework/log.bridges.slf4j.svg )] ( http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22net.lecousin.framework%22%20AND%20a%3A%22log.bridges.slf4j%22 )
29
29
[ ![ Javadoc] ( https://img.shields.io/badge/javadoc-0.13.3-brightgreen.svg )] ( https://www.javadoc.io/doc/net.lecousin.framework/log.bridges.slf4j/0.13.3 )
30
30
31
- ### Branch 0.13
31
+ ### Current development - branch dev
32
32
33
- ![ build status] ( https://travis-ci.org/lecousin/java-framework-core.svg?branch=0.13 " Build Status ")
34
- ![ build status] ( https://ci.appveyor.com/api/projects/status/github/lecousin/java-framework-core?branch=0.13 &svg=true " Build Status ")
35
- [ ![ Codecov] ( https://codecov.io/gh/lecousin/java-framework-core/branch/0.13 /graph/badge.svg )] ( https://codecov.io/gh/lecousin/java-framework-core/branch/0.13 )
33
+ ![ build status] ( https://travis-ci.org/lecousin/java-framework-core.svg?branch=dev " Build Status ")
34
+ ![ build status] ( https://ci.appveyor.com/api/projects/status/github/lecousin/java-framework-core?branch=dev &svg=true " Build Status ")
35
+ [ ![ Codecov] ( https://codecov.io/gh/lecousin/java-framework-core/branch/dev /graph/badge.svg )] ( https://codecov.io/gh/lecousin/java-framework-core/branch/dev )
36
36
37
37
## Multi-threading
38
38
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public void startRead() {
44
44
* If the lock point is used in write mode, this method will return a SynchronizationPoint unblocked when read can start.
45
45
*/
46
46
public SynchronizationPoint <NoException > startReadAsync () {
47
- return startReadAsync (false );
47
+ return startReadAsync (true );
48
48
}
49
49
50
50
/** To call when a thread wants to enter read mode.
@@ -106,7 +106,7 @@ public void startWrite() {
106
106
* If the lock point is used in read mode, this method will return a SynchronizationPoint unblocked when write can start.
107
107
*/
108
108
public SynchronizationPoint <NoException > startWriteAsync () {
109
- return startWriteAsync (false );
109
+ return startWriteAsync (true );
110
110
}
111
111
112
112
/** To call when a thread wants to enter write mode.
You can’t perform that action at this time.
0 commit comments