1 #define LOG_TAG "main_androidshmservice"
3 #include <binder/IPCThreadState.h>
4 #include <binder/ProcessState.h>
5 #include <binder/IServiceManager.h>
8 #include "../../common/shm.h"
9 #include "../Shm.h" //android extension of shm.h
11 using namespace android
;
13 int main(int argc
, char *argv
[]) {
15 ProcessState::self()->startThreadPool();
16 ALOGI("AndroidShmService is starting now");
17 IPCThreadState::self()->joinThreadPool();