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 <utility>
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

◆ executeRequest()

static void executeRequest ( void *  data)
static

◆ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_attach()

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 143 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_attach().

◆ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_create()

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

Definition at line 113 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_create().

◆ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_destroy()

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 218 of file nativethreadpool.cxx.

References p, SAL_THROW_EXTERN_C, and uno_threadpool_destroy().

◆ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_detach()

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 167 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_detach().

◆ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_dispose()

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 210 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_dispose().

◆ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_enter()

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 151 of file nativethreadpool.cxx.

References SAL_THROW_EXTERN_C, and uno_threadpool_enter().

◆ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_putJob()

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 175 of file nativethreadpool.cxx.

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

◆ Java_com_sun_star_lib_uno_environments_remote_NativeThreadPool_threadId()

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