%CPU 7.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm using pjsua-lib from pjproject-0.8.0 and from the latest checkout  
on Mac OS X 10.5.2 (Intel). With the minimum code provided below, "ps  
aux" shows about 7.2 in %CPU. This is after "sound_port.c EC suspended  
because of inactivity" console output. Is that the way it should be?

#include <pjsua-lib/pjsua.h>

int
main(int argc, char *argv[])
{
	pjsua_create();
	pjsua_init(NULL, NULL, NULL);
	pjsua_start();

	for (;;) {
		char option[10];

		fgets(option, sizeof (option), stdin);

		if (option[0] == 'q')
			break;
	}

	pjsua_destroy();

	return 0;
}

-- 
Alexei Kuznetsov




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux