ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/CyclicBarrier.java
Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Fri Nov 27 17:41:59 2020 UTC (3 years, 5 months ago) by dl
Branch: MAIN
CVS Tags: HEAD
Changes since 1.61: +3 -1 lines
Diff to previous 1.61
Incorporate snippets code improvements from Pavel Rappo

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Sat Feb 2 04:09:54 2019 UTC (5 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.60: +1 -0 lines
Diff to previous 1.60
@see Phaser

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sat Feb 2 04:02:49 2019 UTC (5 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.59: +5 -6 lines
Diff to previous 1.59
add a comma for clarity

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Fri Feb 1 18:26:06 2019 UTC (5 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.58: +8 -9 lines
Diff to previous 1.58
dowait: use catch + rethrow instead of a boolean + finally

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Tue Dec 20 22:37:31 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +2 -1 lines
Diff to previous 1.57
prevent access constructor tag anonymous class creation

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sat Oct 8 20:37:20 2016 UTC (7 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +1 -2 lines
Diff to previous 1.56
code sample modernization

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Wed Aug 24 21:46:18 2016 UTC (7 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.55: +1 -1 lines
Diff to previous 1.55
use standard javadoc at-clause order

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Fri Feb 27 19:01:11 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
optimize out redundant field initializers

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Tue Feb 17 18:55:39 2015 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53
standardize code sample idiom: * <pre> {@code

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 07:54:13 2014 UTC (9 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +1 -0 lines
Diff to previous 1.52
standardize import statement order

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sun May 25 02:33:45 2014 UTC (9 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
time to start using diamond <>

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sat May 3 21:05:50 2014 UTC (10 years ago) by jsr166
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
/* => /** for javadoc

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed May 15 19:43:16 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.49: +2 -1 lines
Diff to previous 1.49
clarify that barrier will be broken on TimeoutException

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sat Mar 9 01:51:15 2013 UTC (11 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48
convert some more <tt> => {@code

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Tue Feb 5 20:16:23 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47
whitespace

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Tue Feb 5 19:54:06 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
javadoc style

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Tue Feb 5 19:00:18 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45
typo

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Wed Jan 16 01:59:47 2013 UTC (11 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +11 -11 lines
Diff to previous 1.44
<tt> -> {@code

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sun Jan 13 21:03:20 2013 UTC (11 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +13 -9 lines
Diff to previous 1.43
improve code sample

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Dec 22 23:28:16 2011 UTC (12 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +2 -1 lines
Diff to previous 1.42
fix imports

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sun Jul 3 06:08:22 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
remove useless trailing semicolons

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Jun 9 07:48:43 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +8 -6 lines
Diff to previous 1.40
consistent style for code snippets

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Apr 14 23:05:50 2011 UTC (13 years, 1 month ago) by jsr166
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.39: +15 -15 lines
Diff to previous 1.39
whitespace

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Mar 15 19:47:03 2011 UTC (13 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
Update Creative Commons license URL in legal notices

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun May 18 23:47:56 2008 UTC (16 years ago) by jsr166
Branch: MAIN
Changes since 1.37: +9 -9 lines
Diff to previous 1.37
Sync with OpenJDK; untabify

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Apr 20 06:52:38 2006 UTC (18 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.36: +57 -57 lines
Diff to previous 1.36
6404123: @link => @linkplain and other minor doc fixes

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Jan 10 21:30:33 2006 UTC (18 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +11 -6 lines
Diff to previous 1.35
final revision after review: 6366811: CyclicBarrier behaviour incorrect if interruption occurs during barrier "trip"

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Sep 14 21:45:12 2005 UTC (18 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.34: +6 -6 lines
Diff to previous 1.34
happens-before

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu Sep 8 00:04:00 2005 UTC (18 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
Edit pass for happens-before descriptions

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Fri Sep 2 01:03:08 2005 UTC (18 years, 8 months ago) by brian
Branch: MAIN
Changes since 1.32: +7 -0 lines
Diff to previous 1.32
Happens-before markup

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Tue Apr 26 01:55:35 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
doc fixes

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Apr 25 10:37:41 2005 UTC (19 years ago) by dl
Branch: MAIN
Changes since 1.30: +10 -8 lines
Diff to previous 1.30
Incorporate review suggestions

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Thu Apr 21 23:56:09 2005 UTC (19 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.29: +17 -20 lines
Diff to previous 1.29
Incorporate review suggestiosn from last change

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Wed Apr 20 04:35:14 2005 UTC (19 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.28: +7 -8 lines
Diff to previous 1.28
doc cleanup

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Tue Apr 19 15:12:43 2005 UTC (19 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.27: +98 -88 lines
Diff to previous 1.27
Fix reset

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Jul 13 15:03:05 2004 UTC (19 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
Typo

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Thu Jun 24 23:55:02 2004 UTC (19 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.25: +4 -0 lines
Diff to previous 1.25
Documentation wording fixes

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Mon Feb 9 13:28:47 2004 UTC (20 years, 3 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PFD
Changes since 1.24: +10 -10 lines
Diff to previous 1.24
Wording fixes and improvements

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Feb 9 00:23:55 2004 UTC (20 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23
Wording improvements and fixes

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Jan 10 20:37:03 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
Document toString

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 19:26:25 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21
Headers reference Creative Commons

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 17:19:03 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
Adapt to AbstractQueuedSynchronizer

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Dec 23 19:38:09 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.19: +7 -2 lines
Diff to previous 1.19
cache finals across volatiles; avoid readResolve; doc improvments; timed invokeAll interleaves

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat Oct 18 12:29:33 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_DEC9_POST_ES_SUBMIT, JSR166_DEC9_PRE_ES_SUBMIT, JSR166_NOV3_FREEZE
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
Added docs for type params

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Oct 11 15:37:31 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
Redeclare some Conditions as ReentrantLock.ConditionObjects

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sun Oct 5 23:00:18 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16
added drainTo; clarified various exception specs

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Fri Sep 26 11:37:10 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
Spellcheck

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Sep 13 18:51:11 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
Proofreading pass -- many minor adjustments

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sun Aug 31 13:33:13 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.13: +2 -6 lines
Diff to previous 1.13
Removed non-standard tags and misc javadoc cleanup

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Wed Aug 27 01:45:28 2003 UTC (20 years, 8 months ago) by dholmes
Branch: MAIN
Changes since 1.12: +14 -9 lines
Diff to previous 1.12
As per Eamonn's comments and further to Doug's code & doc changes,
clarifications were made as to when BBE is thrown, when a barrier
isBroken, and that a barrier action exception puts the barrier into
the broken state.

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Aug 26 13:07:36 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.11: +63 -63 lines
Diff to previous 1.11
Style cleanups to COWList; CyclicBarrier broken barriers now Fast-fail

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Aug 25 22:32:40 2003 UTC (20 years, 8 months ago) by dholmes
Branch: MAIN
Changes since 1.10: +11 -5 lines
Diff to previous 1.10
Added missing "catch (Error ex)" clause in dowAwait after running
barrier action.
Minor formatting changes.

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Aug 23 19:47:29 2003 UTC (20 years, 9 months ago) by tim
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
"set [of] threads" typo fixed

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Fri Aug 8 20:05:07 2003 UTC (20 years, 9 months ago) by tim
Branch: MAIN
Changes since 1.8: +13 -19 lines
Diff to previous 1.8
Scrunched catch, finally, else clauses.

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Aug 5 23:59:16 2003 UTC (20 years, 9 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_CR1
Changes since 1.7: +6 -2 lines
Diff to previous 1.7
Expanded reset docs

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Aug 5 22:50:28 2003 UTC (20 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.6: +3 -15 lines
Diff to previous 1.6
Fixed some typos and docs

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Jul 8 00:46:33 2003 UTC (20 years, 10 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_2
Changes since 1.5: +3 -2 lines
Diff to previous 1.5
Locks in subpackage; fairness params added

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Jun 24 14:34:47 2003 UTC (20 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.4: +12 -2 lines
Diff to previous 1.4
Added missing javadoc tags; minor reformatting

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon Jun 23 02:26:16 2003 UTC (20 years, 11 months ago) by brian
Branch: MAIN
Changes since 1.3: +5 -4 lines
Diff to previous 1.3
Partial javadoc pass

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Jun 7 18:20:20 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_1
Changes since 1.2: +8 -7 lines
Diff to previous 1.2
Misc documentation updates

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue May 27 18:14:39 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRERELEASE_0_1
Changes since 1.1: +213 -17 lines
Diff to previous 1.1
re-check-in initial implementations

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Wed May 14 21:30:46 2003 UTC (21 years ago) by tim
Branch: MAIN
Moved main source rooted at . to ./src/main
Moved test source rooted at ./etc/testcases to ./src/test

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a