jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
476B

  1. #define LOG_TAG "main_androidshmservice"
  2. #include <binder/IPCThreadState.h>
  3. #include <binder/ProcessState.h>
  4. #include <binder/IServiceManager.h>
  5. #include <utils/Log.h>
  6. #include "../../common/shm.h"
  7. #include "../Shm.h" //android extension of shm.h
  8. using namespace android;
  9. int main(int argc, char *argv[]) {
  10. jack_instantiate();
  11. ProcessState::self()->startThreadPool();
  12. ALOGI("AndroidShmService is starting now");
  13. IPCThreadState::self()->joinThreadPool();
  14. return 0;
  15. }