-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factor shared threadpool setup/teardown behavior out of platform depe…
…ndent policies.
- Loading branch information
1 parent
77e184a
commit 8111f2f
Showing
1 changed file
with
65 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8111f2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems for android build, the namespace have some issue.
Error Message:
cpprestsdk/Release/src/pplx/threadpool.cpp:39:9: error: unused function 'get_jvm_env' [-Werror,-Wunused-function]
JNIEnv* get_jvm_env()
I think the cause is this change move the android parameters and function out of the crossplat namesapce.
line 95, and line 200.
8111f2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmmm now I'm wondering how this compiles...
8111f2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also line 87, after remove the name space "crossplat::" , it works fine.