home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
inprise
/
JRUNTIME.Z
/
java_lang_Thread.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-05-08
|
2KB
|
58 lines
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <native.h>
/* Header for class java_lang_Thread */
#ifndef _Included_java_lang_Thread
#define _Included_java_lang_Thread
struct Hjava_lang_Thread;
struct Hjava_lang_Runnable;
struct Hjava_lang_ThreadGroup;
#pragma pack(4)
typedef struct Classjava_lang_Thread {
struct HArrayOfChar *name;
long priority;
struct Hjava_lang_Thread *threadQ;
long PrivateInfo;
long eetop;
/*boolean*/ long single_step;
/*boolean*/ long daemon;
/*boolean*/ long stillborn;
struct Hjava_lang_Runnable *target;
/* Inaccessible static: activeThreadQ */
struct Hjava_lang_ThreadGroup *group;
/* Inaccessible static: threadInitNumber */
long initial_stack_memory;
#undef java_lang_Thread_MIN_PRIORITY
#define java_lang_Thread_MIN_PRIORITY 1L
#undef java_lang_Thread_NORM_PRIORITY
#define java_lang_Thread_NORM_PRIORITY 5L
#undef java_lang_Thread_MAX_PRIORITY
#define java_lang_Thread_MAX_PRIORITY 10L
} Classjava_lang_Thread;
HandleTo(java_lang_Thread);
#pragma pack()
#ifdef __cplusplus
extern "C" {
#endif
extern struct Hjava_lang_Thread *java_lang_Thread_currentThread(struct Hjava_lang_Thread *);
extern void java_lang_Thread_yield(struct Hjava_lang_Thread *);
extern void java_lang_Thread_sleep(struct Hjava_lang_Thread *,int64_t);
extern void java_lang_Thread_start(struct Hjava_lang_Thread *);
extern /*boolean*/ long java_lang_Thread_isInterrupted(struct Hjava_lang_Thread *,/*boolean*/ long);
extern /*boolean*/ long java_lang_Thread_isAlive(struct Hjava_lang_Thread *);
extern long java_lang_Thread_countStackFrames(struct Hjava_lang_Thread *);
extern void java_lang_Thread_setPriority0(struct Hjava_lang_Thread *,long);
struct Hjava_lang_Object;
extern void java_lang_Thread_stop0(struct Hjava_lang_Thread *,struct Hjava_lang_Object *);
extern void java_lang_Thread_suspend0(struct Hjava_lang_Thread *);
extern void java_lang_Thread_resume0(struct Hjava_lang_Thread *);
extern void java_lang_Thread_interrupt0(struct Hjava_lang_Thread *);
#ifdef __cplusplus
}
#endif
#endif