diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-26 23:07:08 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-26 23:07:08 +0000 |
commit | f3a70d059f02a1d45b2583e316de8b97a9e2250e (patch) | |
tree | 480b780978724842f7b5256099d0c2c73aa4f70d /libjava/java/util/concurrent/ThreadPoolExecutor.h | |
parent | 4957c5e4c71bb7eab18529c0ac46a036a54e48b8 (diff) | |
download | ppe42-gcc-f3a70d059f02a1d45b2583e316de8b97a9e2250e.tar.gz ppe42-gcc-f3a70d059f02a1d45b2583e316de8b97a9e2250e.zip |
libjava
* Updated headers.
libjava/classpath
* tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
'volatile' after field type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/util/concurrent/ThreadPoolExecutor.h')
-rw-r--r-- | libjava/java/util/concurrent/ThreadPoolExecutor.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libjava/java/util/concurrent/ThreadPoolExecutor.h b/libjava/java/util/concurrent/ThreadPoolExecutor.h index 00b9dde7c9f..b69b1f65599 100644 --- a/libjava/java/util/concurrent/ThreadPoolExecutor.h +++ b/libjava/java/util/concurrent/ThreadPoolExecutor.h @@ -71,20 +71,20 @@ private: ::java::util::concurrent::locks::ReentrantLock * mainLock; ::java::util::concurrent::locks::Condition * termination; ::java::util::HashSet * workers; - volatile jlong keepAliveTime; - volatile jboolean allowCoreThreadTimeOut__; - volatile jint corePoolSize; - volatile jint maximumPoolSize; - volatile jint poolSize; + jlong volatile keepAliveTime; + jboolean volatile allowCoreThreadTimeOut__; + jint volatile corePoolSize; + jint volatile maximumPoolSize; + jint volatile poolSize; public: // actually package-private - volatile jint runState; + jint volatile runState; static const jint RUNNING = 0; static const jint SHUTDOWN = 1; static const jint STOP = 2; static const jint TERMINATED = 3; private: - volatile ::java::util::concurrent::RejectedExecutionHandler * handler; - volatile ::java::util::concurrent::ThreadFactory * threadFactory; + ::java::util::concurrent::RejectedExecutionHandler * volatile handler; + ::java::util::concurrent::ThreadFactory * volatile threadFactory; jint largestPoolSize; jlong completedTaskCount; static ::java::util::concurrent::RejectedExecutionHandler * defaultHandler; |