summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/ThreadPoolExecutor$Worker.h
blob: a1b5dc3feee35c0a14831196358287962b85d3eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_concurrent_ThreadPoolExecutor$Worker__
#define __java_util_concurrent_ThreadPoolExecutor$Worker__

#pragma interface

#include <java/lang/Object.h>

class java::util::concurrent::ThreadPoolExecutor$Worker : public ::java::lang::Object
{

public: // actually package-private
  ThreadPoolExecutor$Worker(::java::util::concurrent::ThreadPoolExecutor *, ::java::lang::Runnable *);
  virtual jboolean isActive();
  virtual void interruptIfIdle();
  virtual void interruptNow();
private:
  void runTask(::java::lang::Runnable *);
public:
  virtual void run();
private:
  ::java::util::concurrent::locks::ReentrantLock * __attribute__((aligned(__alignof__( ::java::lang::Object)))) runLock;
  ::java::lang::Runnable * firstTask;
public: // actually package-private
  jlong volatile completedTasks;
  ::java::lang::Thread * thread;
  ::java::util::concurrent::ThreadPoolExecutor * this$0;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_concurrent_ThreadPoolExecutor$Worker__