[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ccrtp-devel] 100% CPU usage while using ccRTP SingleRTPSessionPool
From: |
Jonas Schwertfeger |
Subject: |
[Ccrtp-devel] 100% CPU usage while using ccRTP SingleRTPSessionPool |
Date: |
Tue, 24 May 2005 01:52:12 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
In my application I have several RTP sessions but want to use only one
thread to manage them. Therefore I use a SingleRTPSessionPool and add
RTPSessionBase objects for each session.
My problem is that once I start the pool thread it utilizes 100%
of the CPU time. Even the following two simple lines, which do not even
add an RTPSessionsBase object to the pool, result in that behaviour:
SingleRTPSessionPool test;
test.startRunning();
I tried to localize the responsible code fragment. Obviously it has to
be somewhere in the run() method of SingleRTPSessionPool. The code
blocks in the select() call until a specific timeout occurs. But
blocking is fine, that doesn't lead to CPU utilization.
Has anybody else encountered such a problem? A SingleRTPSessionPool demo
in a future ccRTP release would be great.
Regards
Jonas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ccrtp-devel] 100% CPU usage while using ccRTP SingleRTPSessionPool,
Jonas Schwertfeger <=