<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Re: [Live-devel] Live 555 multi-thread support</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>In my initial investigations with
LiveMedia 2 years ago, I had noticed that putting it as the highest priority
thread ended up chewing a lot of CPU cycles, and potentially starving other
threads as well (embedded Linux, 2.6.10) &#8211; the solution was to relegate
to being the lowest priority thread in my system, in which case it performed
just fine.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This might have changed with the latest
LiveMedia libraries &#8211; theoretically, the select() should prevent idle
busy looping situations in the thread, but what might have been happening might
be repeated scheduling by a certain class(s) with short periods of cycle time.<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>Jerry Johns</span></font></b></strong><b><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy;
font-weight:bold'><br>
</span></font></b><em><i><font size=1 color=blue face=Arial><span
style='font-size:7.5pt;font-family:Arial;color:blue'>Design Engineer</span></font></i></em><i><font
size=1 color=blue face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:blue;font-style:italic'><br>
<em><i><font face=Arial><span style='font-family:Arial'>Nuvation Research Corp
- <u1:country-region u2:st="on"><u1:place u2:st="on"><st1:place w:st="on"><st1:country-region
 w:st="on">Canada</st1:country-region></st1:place></span></font></i></em><br>
<em><i><font face=Arial><span style='font-family:Arial'></u1:place></u1:country-region>Tel:
(519) 746-2304 ext. 221</span></font></i></em><br>
</span></font></i><font size=1 color=navy face=Arial><span style='font-size:
7.5pt;font-family:Arial;color:navy'><a href="http://www.nuvation.com/"
title="http://www.nuvation.com"><em><i><font face=Arial
title="http://www.nuvation.com"><span title="http://www.nuvation.com"><span
style='font-family:Arial;text-decoration:none'>www.nuvation.com</span></span></font></i></em></a></span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
live-devel-bounces@ns.live555.com [mailto:live-devel-bounces@ns.live555.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Rawling, Stuart<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, July 09, 2009
11:57 AM<br>
<b><span style='font-weight:bold'>To:</span></b> LIVE555 Streaming Media -
development &amp; use<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Live-devel] Live 555
multi-thread support</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'>&gt;&gt;</span></font><font size=2 color="#00007f"
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:#00007F'>I&#8217;ve
successfully used LiveMedia in designs using this above concept and as long as
you lower its thread priority relative to the other threads in &gt;&gt;your
system, it chugs along just fine </span></font><font size=2 color="#00007f"
face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings;color:#00007F'>J<br>
</span></font><font size=2 face=Calibri><span style='font-size:11.0pt;
font-family:Calibri'><br>
Just curious as to why you lowered the thread priority? &nbsp;</span></font> <br>
-
------------------------------------------------------------------------------<br>
Confidentiality Notice: The information contained in this transmission is
legally privileged and confidential, intended only for the use of the
individual(s) or entities named above. This email and any files transmitted
with it are the property of Pelco. If the reader of this message is not the
intended recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any review,
disclosure, copying, distribution, retention, or any action taken or omitted to
be taken in reliance on it is prohibited and may be unlawful. If you receive
this communication in error, please notify us immediately by telephone call to
+1-559-292-1981 or forward the e-mail to administrator@pelco.com and then
permanently delete the e-mail and destroy all soft and hard copies of the
message and any attachments. Thank you for your cooperation. <br>
- ------------------------------------------------------------------------------<o:p></o:p></p>

</div>

</body>

</html>