ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ExecutorService.java
Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Fri Nov 25 16:39:48 2022 UTC (17 months, 3 weeks ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.66: +2 -2 lines
Diff to previous 1.66
whitespace

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Fri May 6 16:03:04 2022 UTC (2 years ago) by dl
Branch: MAIN
Changes since 1.65: +63 -4 lines
Diff to previous 1.65
sync with openjdk

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Fri Nov 27 17:41:59 2020 UTC (3 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.64: +1 -1 lines
Diff to previous 1.64
Incorporate snippets code improvements from Pavel Rappo

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Thu Mar 7 00:50:36 2019 UTC (5 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63
8220248: fix headings in java.util.concurrent

Revision 1.63 - (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.62: +2 -2 lines
Diff to previous 1.62
standardize code sample idiom: * <pre> {@code

Revision 1.62 - (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.61: +2 -1 lines
Diff to previous 1.61
standardize import statement order

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Thu Jul 18 17:13:42 2013 UTC (10 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.60: +6 -0 lines
Diff to previous 1.60
doclint warning fixes

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Mon Feb 11 08:09:36 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59
javadoc link readability

Revision 1.59 - (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.58: +3 -3 lines
Diff to previous 1.58
javadoc style

Revision 1.58 - (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.57: +31 -31 lines
Diff to previous 1.57
<tt> -> {@code

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Wed Jan 2 06:29:00 2013 UTC (11 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
@return javadoc style

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

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sun Oct 21 06:40:20 2012 UTC (11 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +0 -1 lines
Diff to previous 1.54
no blank line between javadoc and corresponding code

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Thu Nov 24 02:35:13 2011 UTC (12 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.53: +0 -1 lines
Diff to previous 1.53
whitespace

Revision 1.53 - (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.52: +4 -6 lines
Diff to previous 1.52
consistent style for code snippets

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Wed Jun 8 00:50:35 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +0 -2 lines
Diff to previous 1.51
clean up imports

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

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Aug 5 01:42:33 2009 UTC (14 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +4 -4 lines
Diff to previous 1.49
weaken invokeAny NPE specs

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon May 19 01:09:45 2008 UTC (16 years ago) by jsr166
Branch: MAIN
Changes since 1.48: +10 -2 lines
Diff to previous 1.48
6620549: ExecutorService#shutdown should clearly state that it does not block

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Mon Jul 17 02:55:01 2006 UTC (17 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.47: +4 -2 lines
Diff to previous 1.47
html layout

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Fri Jul 14 11:01:44 2006 UTC (17 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.46: +36 -11 lines
Diff to previous 1.46
Improve documentation about shutdown

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

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Tue Mar 21 00:22:43 2006 UTC (18 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44
Document and better support finalization

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Feb 7 20:54:24 2006 UTC (18 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +0 -1 lines
Diff to previous 1.43
6378729: Remove workaround for 6280605

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Wed Sep 14 22:54:29 2005 UTC (18 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +6 -7 lines
Diff to previous 1.42
happens-before

Revision 1.42 - (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.41: +4 -4 lines
Diff to previous 1.41
Edit pass for happens-before descriptions

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri Sep 2 01:10:52 2005 UTC (18 years, 8 months ago) by brian
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40
Formatting tweaks to happens-before markup

Revision 1.40 - (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.39: +9 -0 lines
Diff to previous 1.39
Happens-before markup

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sat Aug 27 22:44:54 2005 UTC (18 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
un-masking docstrings

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Aug 25 19:28:17 2005 UTC (18 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.37: +5 -4 lines
Diff to previous 1.37
6267833: Incorrect method signature ExecutorService.invokeAll()

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Aug 25 05:31:40 2005 UTC (18 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +77 -69 lines
Diff to previous 1.36
doc fixes

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Thu Aug 25 05:27:06 2005 UTC (18 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +1 -2 lines
Diff to previous 1.35
doc fixes

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon May 23 06:25:17 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
whitespace

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed May 18 06:51:43 2005 UTC (19 years ago) by jsr166
Branch: MAIN
Changes since 1.33: +0 -1 lines
Diff to previous 1.33
whitespace

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

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Mar 7 16:41:56 2005 UTC (19 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
Copyedit pass

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sun Mar 6 12:06:21 2005 UTC (19 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.30: +8 -11 lines
Diff to previous 1.30
Copyedit pass

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Tue Mar 1 01:27:46 2005 UTC (19 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.29: +9 -7 lines
Diff to previous 1.29
Documentation improvements

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Sat Jan 1 12:50:34 2005 UTC (19 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28
Clarify that timeout of zero means not to wait

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sun Jun 27 14:03:39 2004 UTC (19 years, 10 months ago) by dl
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
Nitpicky doc fixes

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sat Apr 10 14:25:24 2004 UTC (20 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.26: +8 -3 lines
Diff to previous 1.26
Documentation improvements

Revision 1.26 - (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.25: +1 -1 lines
Diff to previous 1.25
Wording fixes and improvements

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Feb 8 15:35:10 2004 UTC (20 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24
Wording cleanups; Improve SynchronousQueue serialization and fairness support

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sun Jan 11 23:19:55 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23
formatting; grammar

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Fri Jan 2 00:38:33 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.22: +35 -0 lines
Diff to previous 1.22
Use ACS in FutureTask; doc improvements

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]
Mon Dec 22 16:25:20 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.20: +14 -5 lines
Diff to previous 1.20
Simplify FutureTask and AbstractExecutorService internals; improve docs

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Dec 21 12:24:48 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.19: +36 -14 lines
Diff to previous 1.19
Documentation improvments; support two-arg submit

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat Dec 20 14:00:05 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.18: +5 -16 lines
Diff to previous 1.18
Replace PrivilegedFutureTask with Executors.privilegedCallable

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Dec 19 20:38:31 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.17: +14 -148 lines
Diff to previous 1.17
Define and use Executors.callable instead of submit/invoke variants

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri Dec 19 14:42:25 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.16: +111 -96 lines
Diff to previous 1.16
Documentation improvements

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Dec 17 17:00:24 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.15: +14 -14 lines
Diff to previous 1.15
Export delegation wrappers; fix/add documentation

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Dec 16 12:45:06 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.14: +93 -92 lines
Diff to previous 1.14
invokeAny returns value, not list

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Dec 15 15:41:49 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.13: +22 -12 lines
Diff to previous 1.13
methods renamed back to invokeAny/All

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Dec 15 00:29:49 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.12: +65 -44 lines
Diff to previous 1.12
Added CompletionService; Executor any/all methods now require lists

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sun Dec 14 22:36:36 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.11: +19 -3 lines
Diff to previous 1.11
Minor improvements to any/all methods

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sun Dec 14 15:50:13 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.10: +141 -1 lines
Diff to previous 1.10
Added any/all methods

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Dec 10 13:00:13 2003 UTC (20 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9
Documentation updates

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Dec 10 02:24:00 2003 UTC (20 years, 5 months ago) by tim
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
Raw List returned by shutdownNow is really List<Runnable>.

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed Dec 10 01:51:11 2003 UTC (20 years, 5 months ago) by tim
Branch: MAIN
CVS Tags: JSR166_DEC9_POST_ES_SUBMIT
Changes since 1.7: +79 -0 lines
Diff to previous 1.7
Move and rename static Executors.execute/invoke to ExecutorService.submit/invoke,
providing implementations in AbstractExecutorService (which TPE extends).

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

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Aug 24 14:47:31 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.5: +5 -3 lines
Diff to previous 1.5
Javadoc clarifications

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

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Jun 4 11:34:19 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PRELIMINARY_TEST_RELEASE_1
Changes since 1.3: +2 -11 lines
Diff to previous 1.3
Minor documentation updates
Remove remove(task) from ExecutorService, Add removablity to ScheduledExecutor tasks, Revert Executors.execute to return FutureTask

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Jun 3 16:44:36 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
Changes since 1.2: +12 -2 lines
Diff to previous 1.2
New ScheduledExecutor; CancellableTask

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue May 27 18:15:49 2003 UTC (20 years, 11 months ago) by jozart
Branch: MAIN
CVS Tags: JSR166_PRERELEASE_0_1
Changes since 1.1: +3 -3 lines
Diff to previous 1.1
Changed "executor" to  "executor services" in javadoc

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Tue May 27 15:50:14 2003 UTC (20 years, 11 months ago) by dl
Branch: MAIN
Initial implementations

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