-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detach current thread only at its exit #20
Comments
let me take this up @MatteoArella @gavv
|
Great! A dev setup can be obtained running travis-ci jobs locally. Linux
Android
The step 3 will run a fresh docker container and a new AVD at each execution; if it's needed to only build and test android subproject (only after steps 1-2 are done) you can just run
then create an AVD
and finally build and test roc-android
Additional infos about our |
@masterskipper Hi, do you still have plans on this issue? |
Actually we are calling
AttachCurrentThread
andDetachCurrentThread
inside thelogger_handler
function (https://github.com/roc-project/roc-java/blob/master/roc_jni/src/main/cpp/logger.cpp);As it has been discussed at #18 this can slow down performances.
A more efficient solution would involve detaching thread just before its exit, as it's described at https://developer.android.com/training/articles/perf-jni#threads:
The text was updated successfully, but these errors were encountered: