Dne 17.10.2016 v 07:55 Christian Köstlin via Digitalmars-d-learn napsal(a):

to run java call ./gradlew clean build
->
counter.AtomicIntCounter@25992ae3 expected: 2000000 got: 1000000 in: 22ms
counter.AtomicLongCounter@2539f946 expected: 2000000 got: 1000000 in: 17ms
counter.ThreadSafe2Counter@527d56c2 expected: 2000000 got: 1000000 in: 33ms
counter.ThreadSafe1Counter@6fd8b1a expected: 2000000 got: 1000000 in: 173ms
counter.ThreadUnsafeCounter@6bb33878 expected: 2000000 got: 562858 in: 10ms

I am still unable to get your java code working:
[kozak@dajinka threads]$ ./gradlew clean build
:clean
:compileJava
:processResources UP-TO-DATE
:classes
:jar
:assemble
:compileTestJava
:processTestResources UP-TO-DATE
:testClasses
:test
:check
:build

BUILD SUCCESSFUL

Total time: 3.726 secs


How I can run it?

Reply via email to