ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166y/Phaser.java
Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Fri Jul 15 18:49:12 2016 UTC (7 years, 9 months ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.80: +0 -1 lines
Diff to previous 1.80
whitespace

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Sun Sep 13 16:28:14 2015 UTC (8 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79
consistent style for <li> tags, removing </li> end tags

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Wed Jan 9 02:51:37 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.78: +17 -15 lines
Diff to previous 1.78
more portable getUnsafe()

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Sun Nov 18 18:03:10 2012 UTC (11 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.77: +4 -4 lines
Diff to previous 1.77
normalize whitespace after <p>

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Mon Oct 17 23:37:19 2011 UTC (12 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.76: +6 -10 lines
Diff to previous 1.76
sync with main

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Sat Oct 15 21:46:25 2011 UTC (12 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.75: +50 -43 lines
Diff to previous 1.75
sync with main

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Wed Sep 21 12:30:39 2011 UTC (12 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.74: +21 -13 lines
Diff to previous 1.74
Allow multiple subphasers to register while others deregister

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Wed Jun 1 21:04:30 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.73: +1 -1 lines
Diff to previous 1.73
fix javac 7 warnings

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Wed May 25 16:08:03 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.72: +32 -34 lines
Diff to previous 1.72
sync src/jsr166y from src/main/java/util/concurrent

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Mon May 16 11:41:14 2011 UTC (12 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.71: +1 -1 lines
Diff to previous 1.71
Add "final" to code example

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Tue Mar 15 19:47:02 2011 UTC (13 years, 1 month ago) by jsr166
Branch: MAIN
CVS Tags: jdk7-compat, release-1_7_0
Changes since 1.70: +1 -1 lines
Diff to previous 1.70
Update Creative Commons license URL in legal notices

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Wed Dec 8 15:27:25 2010 UTC (13 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.69: +31 -28 lines
Diff to previous 1.69
Weaken assumptions in reconcileState; improve specs

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Sat Dec 4 22:00:05 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.68: +19 -16 lines
Diff to previous 1.68
typos and style touchups

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Sat Dec 4 15:25:08 2010 UTC (13 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.67: +163 -105 lines
Diff to previous 1.67
Ensure consistent phase returns for tiered phasers; other minor improvements

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Fri Dec 3 21:29:34 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.66: +1 -1 lines
Diff to previous 1.66
typo

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Wed Dec 1 19:12:53 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.65: +5 -5 lines
Diff to previous 1.65
ternary operator coding style

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Wed Dec 1 17:20:41 2010 UTC (13 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.64: +178 -141 lines
Diff to previous 1.64
Fix case of re-registering root; forceTermination spec

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Mon Nov 29 20:58:06 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63
consistent ternary operator style

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Mon Nov 29 15:47:19 2010 UTC (13 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.62: +167 -176 lines
Diff to previous 1.62
improve javadocs; strengthen getPhase spec; streamline waiting

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Mon Nov 29 00:52:28 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.61: +35 -36 lines
Diff to previous 1.61
Improve responsiveness to interrupts

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Sun Nov 28 21:21:03 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.60: +1 -1 lines
Diff to previous 1.60
whitespace

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Nov 28 15:49:49 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.59: +107 -107 lines
Diff to previous 1.59
Lazier reconcilation; doc improvements

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sat Nov 27 16:46:53 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.58: +105 -72 lines
Diff to previous 1.58
Remove constraints on tiered deregistration

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Wed Nov 24 15:48:01 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.57: +23 -15 lines
Diff to previous 1.57
Improve javadoc for constructing child Phasers

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Fri Nov 19 16:03:24 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.56: +83 -92 lines
Diff to previous 1.56
Reduce need for and improve reconcileState

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Wed Nov 17 10:48:59 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.55: +7 -7 lines
Diff to previous 1.55
Sync with juc version

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Mon Nov 15 12:51:54 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.54: +80 -68 lines
Diff to previous 1.54
Incorporate review suggestions

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sat Nov 13 13:10:04 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.53: +109 -96 lines
Diff to previous 1.53
Improve error messages, simplify loops

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sat Nov 13 05:59:25 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52
s/nonnull/non-null/

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sat Nov 13 01:27:13 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
Fix conditional

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sat Nov 13 00:55:51 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.50: +297 -329 lines
Diff to previous 1.50
Overhaul to remove onAdvance disclaimer

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sat Nov 6 16:12:10 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.49: +95 -77 lines
Diff to previous 1.49
Performance (and other) improvements

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Fri Nov 5 23:01:47 2010 UTC (13 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.48: +98 -126 lines
Diff to previous 1.48
Suppress register on advance; share root queues; misc touchups

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Oct 24 21:45:39 2010 UTC (13 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.47: +24 -20 lines
Diff to previous 1.47
Don't overwrite record of interrupt

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Jul 7 19:52:32 2010 UTC (13 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
Simplify APIs. See concurrency-interest postings for rationale

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sun Aug 30 11:08:25 2009 UTC (14 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.45: +7 -6 lines
Diff to previous 1.45
Clarify onAdvance

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Tue Aug 25 16:50:24 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +16 -17 lines
Diff to previous 1.44
code snippet improvements

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Aug 25 16:32:28 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.43: +7 -10 lines
Diff to previous 1.43
Fix tier example

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Aug 24 23:08:18 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.42: +16 -15 lines
Diff to previous 1.42
Clarify onAdvance

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Mon Aug 24 18:37:15 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.41: +20 -12 lines
Diff to previous 1.41
Clarify onAdvance

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Aug 24 15:42:51 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +0 -1 lines
Diff to previous 1.40
killed unused ushortBits

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Mon Aug 24 12:49:39 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.39: +9 -5 lines
Diff to previous 1.39
Wording improvements

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Mon Aug 24 12:15:46 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.38: +13 -13 lines
Diff to previous 1.38
Typos

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Mon Aug 24 12:11:00 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.37: +119 -81 lines
Diff to previous 1.37
Revamp presentation style

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Aug 24 00:48:52 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +4 -4 lines
Diff to previous 1.36
cosmetic changes

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sun Aug 23 20:12:24 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.35: +14 -6 lines
Diff to previous 1.35
Improve overviews

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Sun Aug 23 13:37:08 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.34: +36 -30 lines
Diff to previous 1.34
Clarify meaning of phase arguments and return values

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Aug 19 23:05:32 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.33: +9 -3 lines
Diff to previous 1.33
Fix @return specs

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Wed Aug 19 18:00:55 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +6 -6 lines
Diff to previous 1.32
javadoc cosmetic improvements

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Wed Aug 19 17:44:45 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +7 -7 lines
Diff to previous 1.31
javadoc cosmetic improvements

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Wed Aug 19 15:50:04 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.30: +4 -0 lines
Diff to previous 1.30
Add timeout @params

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Wed Aug 19 15:23:18 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.29: +13 -10 lines
Diff to previous 1.29
Improve awaitAdvance* spec wording

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Wed Aug 12 04:02:45 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
typos

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Wed Aug 12 02:24:35 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
cosmetic improvement

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sat Aug 8 19:36:52 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.26: +33 -46 lines
Diff to previous 1.26
Wording improvements; remove unneeded hasPhase

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Aug 5 00:54:11 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
spec fiddling

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Aug 2 17:02:06 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24
cosmetic spec improvements

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Jul 27 21:41:53 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.23: +26 -25 lines
Diff to previous 1.23
j.u.c. coding standards

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Mon Jul 27 20:57:44 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +7 -7 lines
Diff to previous 1.22
{@code (true|null)}

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sun Jul 26 17:33:37 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.21: +34 -30 lines
Diff to previous 1.21
Unsafe mechanics

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sun Jul 26 05:55:34 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
Make field offset fields private

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sat Jul 25 00:34:00 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19
Avoid wildcard imports

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Fri Jul 24 23:47:01 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +23 -26 lines
Diff to previous 1.18
Unsafe mechanics

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Thu Jul 23 23:07:57 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.17: +7 -6 lines
Diff to previous 1.17
j.u.c. coding standards

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Jul 23 19:25:45 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16
j.u.c. coding standards

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Jul 22 01:36:51 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.15: +3 -0 lines
Diff to previous 1.15
Add @since, @author tags

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Jul 21 18:11:44 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14
_unsafe => UNSAFE (a constant according to EJ #56)

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Jul 21 00:15:14 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.13: +37 -18 lines
Diff to previous 1.13
j.u.c. coding standards

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Jul 20 22:40:09 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.12: +49 -53 lines
Diff to previous 1.12
<pre> => <pre> @code

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Mar 19 05:10:42 2009 UTC (15 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11
getUnsafe should use doPrivileged

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Thu Mar 19 04:49:44 2009 UTC (15 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.10: +30 -9 lines
Diff to previous 1.10
getUnsafe should use doPrivileged

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Jan 6 14:30:31 2009 UTC (15 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.9: +148 -128 lines
Diff to previous 1.9
Refactored and repackaged ForkJoin classes

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Jan 5 09:11:26 2009 UTC (15 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.8: +19 -16 lines
Diff to previous 1.8
minor doc fixes

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Jan 5 05:50:47 2009 UTC (15 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7
typos

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Jan 5 03:53:26 2009 UTC (15 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.6: +18 -18 lines
Diff to previous 1.6
use @code

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Oct 28 23:03:24 2008 UTC (15 years, 6 months ago) by dl
Branch: MAIN
Changes since 1.5: +5 -2 lines
Diff to previous 1.5
Fix javadoc sample code

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Sep 7 11:24:26 2008 UTC (15 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
Typos

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Sep 6 13:19:17 2008 UTC (15 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.3: +573 -354 lines
Diff to previous 1.3
Support tiering; un-unify FJ vs Thread waiting

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Jul 25 18:11:53 2008 UTC (15 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.2: +16 -17 lines
Diff to previous 1.2
whitespace

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Jul 25 18:10:41 2008 UTC (15 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1
typos

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Mon Jul 7 16:53:30 2008 UTC (15 years, 9 months ago) by dl
Branch: MAIN
TaskBarrier -> Phaser; other misc improvements

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