LibreOffice Module bridges (master)  1
Functions
nativethreadpool.cxx File Reference
#include <string.h>
#include <jvmaccess/virtualmachine.hxx>
#include <rtl/byteseq.h>
#include <rtl/byteseq.hxx>
#include <rtl/ref.hxx>
#include <sal/types.h>
#include <uno/threadpool.h>
#include <jni.h>
#include <new>
Include dependency graph for nativethreadpool.cxx:

Go to the source code of this file.

Functions

static void executeRequest (void *data)
 
SAL_JNI_EXPORT jbyteArray JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_threadId (JNIEnv *env, SAL_UNUSED_PARAMETER jclass) SAL_THROW_EXTERN_C()
 
SAL_JNI_EXPORT jlong JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_create (JNIEnv *env, SAL_UNUSED_PARAMETER jclass) SAL_THROW_EXTERN_C()
 
SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_attach (SAL_UNUSED_PARAMETER JNIEnv *, SAL_UNUSED_PARAMETER jclass, jlong pool) SAL_THROW_EXTERN_C()
 
SAL_JNI_EXPORT jobject JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_enter (JNIEnv *env, SAL_UNUSED_PARAMETER jclass, jlong pool) SAL_THROW_EXTERN_C()
 
SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_detach (SAL_UNUSED_PARAMETER JNIEnv *, SAL_UNUSED_PARAMETER jclass, jlong pool) SAL_THROW_EXTERN_C()
 
SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_putJob (JNIEnv *env, SAL_UNUSED_PARAMETER jclass, jlong pool, jbyteArray threadId, jobject job, jboolean request, jboolean oneWay) SAL_THROW_EXTERN_C()
 
SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_dispose (SAL_UNUSED_PARAMETER JNIEnv *, SAL_UNUSED_PARAMETER jclass, jlong pool) SAL_THROW_EXTERN_C()
 
SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_destroy (SAL_UNUSED_PARAMETER JNIEnv *, SAL_UNUSED_PARAMETER jclass, jlong pool) SAL_THROW_EXTERN_C()
 

Function Documentation

static void executeRequest ( void data)
static
SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_attach ( SAL_UNUSED_PARAMETER JNIEnv *  ,
SAL_UNUSED_PARAMETER  jclass,
jlong  pool 
)

Definition at line 142 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_attach().

SAL_JNI_EXPORT jlong JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_create ( JNIEnv *  env,
SAL_UNUSED_PARAMETER  jclass 
)

Definition at line 112 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_create().

SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_destroy ( SAL_UNUSED_PARAMETER JNIEnv *  ,
SAL_UNUSED_PARAMETER  jclass,
jlong  pool 
)

Definition at line 217 of file nativethreadpool.cxx.

References p, SAL_THROW_EXTERN_C, and uno_threadpool_destroy().

SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_detach ( SAL_UNUSED_PARAMETER JNIEnv *  ,
SAL_UNUSED_PARAMETER  jclass,
jlong  pool 
)

Definition at line 166 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_detach().

SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_dispose ( SAL_UNUSED_PARAMETER JNIEnv *  ,
SAL_UNUSED_PARAMETER  jclass,
jlong  pool 
)

Definition at line 209 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_dispose().

SAL_JNI_EXPORT jobject JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_enter ( JNIEnv *  env,
SAL_UNUSED_PARAMETER  jclass,
jlong  pool 
)

Definition at line 150 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_enter().

SAL_JNI_EXPORT void JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_putJob ( JNIEnv *  env,
SAL_UNUSED_PARAMETER  jclass,
jlong  pool,
jbyteArray  threadId,
jobject  job,
jboolean  request,
jboolean  oneWay 
)

Definition at line 174 of file nativethreadpool.cxx.

References executeRequest(), p, SAL_THROW_EXTERN_C, and uno_threadpool_putJob().

SAL_JNI_EXPORT jbyteArray JNICALL Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_threadId ( JNIEnv *  env,
SAL_UNUSED_PARAMETER  jclass 
)