Call JVM from C/C++ in ThreadPool
Call JVM from C/C++ in ThreadPool Using JNI
.
callJvmThreadpool
a.out
cmake-build-debug
callJvm.cbp
callJvmThreadp.cbp
callJvmThreadpool.cbp
CMakeCache.txt
CMakeFiles
3.14.5
CMakeCCompiler.cmake
CMakeCXXCompiler.cmake
CMakeDetermineCompilerABI_C.bin
CMakeDetermineCompilerABI_CXX.bin
CMakeSystem.cmake
CompilerIdC
a.out
CMakeCCompilerId.c
tmp
CompilerIdCXX
a.out
CMakeCXXCompilerId.cpp
tmp
clion-environment.txt
clion-log.txt
cmake.check_cache
CMakeDirectoryInformation.cmake
CMakeOutput.log
CMakeTmp
feature_tests.bin
feature_tests.c
feature_tests.cxx
main.dir
build.make
cmake_clean.cmake
CXX.includecache
DependInfo.cmake
depend.internal
depend.make
flags.make
link.txt
progress.make
socketMultithread.cpp.o
socketThreadpool.cpp.o
tpool.cpp.o
Makefile2
Makefile.cmake
progress.marks
TargetDirectories.txt
cmake_install.cmake
hs_err_pid22583.log
hs_err_pid22734.log
hs_err_pid22793.log
hs_err_pid22856.log
hs_err_pid22911.log
main
Makefile
CMakeLists.txt
jni.h
jni_md.h
main.cpp
pureMultithread.cpp
qin_test1.jar
qin_test.jar
server
server.cpp
client
client.cpp
socketMultithread.cpp
socketThreadpool.cpp
test.cpp
tpool.cpp
tpool.h
README.md
- CMakeLists.txt : cmake
- jni.h : java JNI
- jni_md.h : jni.h
- main.cpp :
- pureMultithread.cpp :
- qin_test1.jar : jar1
- qin_test.jar : jar0
- server.cpp : socket
- client.cpp : socket
- socketMultithread.cpp : socket+jni
- socketThreadpool.cpp : socket+jni
- test.cpp :
- tpool.cpp :
- tpool.h :
CMakeLists.txt
cd callJvmThreadpool
cmake ..
./a.out