File: main_androidshmservice.cpp

package info (click to toggle)
jackd2 1.9.22~dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,984 kB
  • sloc: cpp: 48,694; ansic: 23,970; python: 13,621; sh: 228; makefile: 31
file content (19 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define LOG_TAG "main_androidshmservice"

#include <binder/IPCThreadState.h>
#include <binder/ProcessState.h>
#include <binder/IServiceManager.h>
#include <utils/Log.h>

#include "../../common/shm.h"
#include "../Shm.h"  //android extension of shm.h

using namespace android;

int main(int argc, char *argv[]) {
	jack_instantiate();
	ProcessState::self()->startThreadPool();
	ALOGI("AndroidShmService is starting now");
	IPCThreadState::self()->joinThreadPool();
	return 0;
}