<HTML><HEAD>
<META http-equiv=Content-Type content='text/html; charset=windows-1252'>
<title>Samsung Enterprise Portal mySingle</title>
<style> P, td, li {font-family:Arial, arial; font-size:9pt; margin-top:5px;margin-bottom:5px;} body{font-family:Arial, arial; font-size:9pt;}</style>
</HEAD><BODY><br><p>&nbsp;hi guys,</p>
<p>i m using DBUS daemon for our p2p communication but it seems to me that it 
is bulky and latency is not predictable at heavy load condition what u people 
think i m correct or not on the basis of that if it will be used for some other 
constrained platform like mobile (which is running a version of linux kernel)it 
will not perform properly or provide system slow responses etc. what you think 
correct me if i m thinking in a wrong way.</p>
<p>looking for all listeners views.</p>
<p>thanks &amp; regards,</p>
<p>deepesh</p>
<p>&nbsp;</p><br><br>------- <b>Original Message</b> -------<br><b>Sender</b> : Peter McCurdy&lt;petermccurdy@alumni.uwaterloo.ca&gt;<br><b>Date</b>   : Aug 26, 2008 11:36 (GMT+09:00)<br><b>Title</b>  : Re: Deciding whether time values should be signed or unsigned<br><br>On&nbsp;Mon,&nbsp;Aug&nbsp;25,&nbsp;2008&nbsp;at&nbsp;2:50&nbsp;PM,&nbsp;Havoc&nbsp;Pennington&nbsp;&lt;hp@pobox.com&gt;&nbsp;wrote:
<br>&gt;&nbsp;Hi,
<br>&gt;
<br>&gt;&nbsp;On&nbsp;Mon,&nbsp;Aug&nbsp;25,&nbsp;2008&nbsp;at&nbsp;2:00&nbsp;PM,&nbsp;Thiago&nbsp;Macieira&nbsp;&lt;thiago@kde.org&gt;&nbsp;wrote:
<br>&gt;&gt;&nbsp;You&nbsp;should&nbsp;use&nbsp;time_t,&nbsp;struct&nbsp;timeval,&nbsp;etc.&nbsp;internally,&nbsp;everywhere&nbsp;when
<br>&gt;&gt;&nbsp;dealing&nbsp;with&nbsp;the&nbsp;system&nbsp;calls.&nbsp;Don&#39;t&nbsp;try&nbsp;to&nbsp;invent&nbsp;your&nbsp;own&nbsp;time&nbsp;value.
<br>&gt;&gt;
<br>&gt;&gt;&nbsp;I&nbsp;also&nbsp;don&#39;t&nbsp;see&nbsp;the&nbsp;need&nbsp;to&nbsp;have&nbsp;sec/usec&nbsp;pairs&nbsp;everywhere.&nbsp;A&nbsp;struct&nbsp;would
<br>&gt;&gt;&nbsp;probably&nbsp;be&nbsp;better,&nbsp;and&nbsp;we&nbsp;have&nbsp;&quot;timeval&quot;&nbsp;for&nbsp;that.&nbsp;I&nbsp;understand&nbsp;the&nbsp;aversion
<br>&gt;&gt;&nbsp;of&nbsp;using&nbsp;any&nbsp;system&nbsp;headers&nbsp;in&nbsp;files&nbsp;that&nbsp;aren&#39;t&nbsp;&quot;sysdep&quot;,&nbsp;so&nbsp;we&nbsp;could&nbsp;define
<br>&gt;&gt;&nbsp;our&nbsp;own&nbsp;structure.
<br>&gt;
<br>&gt;&nbsp;Cleaning&nbsp;up&nbsp;the&nbsp;internal&nbsp;API&nbsp;would&nbsp;not&nbsp;be&nbsp;bad,&nbsp;I&nbsp;think&nbsp;it&#39;s&nbsp;a&nbsp;separate
<br>&gt;&nbsp;patch&nbsp;from&nbsp;just&nbsp;fixing&nbsp;the&nbsp;warnings&nbsp;though.&nbsp;(Meaning&nbsp;both,&nbsp;ideally&nbsp;it
<br>&gt;&nbsp;is&nbsp;a&nbsp;separate&nbsp;patch&nbsp;for&nbsp;purposes&nbsp;of&nbsp;git&nbsp;history&nbsp;and&nbsp;patch&nbsp;review,&nbsp;and
<br>&gt;&nbsp;that&nbsp;it&#39;s&nbsp;OK&nbsp;to&nbsp;go&nbsp;ahead&nbsp;and&nbsp;fix&nbsp;the&nbsp;warnings&nbsp;without&nbsp;a&nbsp;larger
<br>&gt;&nbsp;refactoring)
<br>&gt;
<br>&gt;&nbsp;If&nbsp;cleaning&nbsp;up&nbsp;the&nbsp;internal&nbsp;API,&nbsp;I&nbsp;would&nbsp;be&nbsp;reluctant&nbsp;to&nbsp;use&nbsp;struct
<br>&gt;&nbsp;timeval&nbsp;and&nbsp;time_t&nbsp;outside&nbsp;sysdeps&nbsp;as&nbsp;you&nbsp;say.
<br>
<br>You&#39;d&nbsp;also&nbsp;want&nbsp;some&nbsp;sensible&nbsp;functions&nbsp;to&nbsp;add,&nbsp;subtract,&nbsp;compare,
<br>etc.&nbsp;these&nbsp;time&nbsp;values.&nbsp;&nbsp;The&nbsp;lack&nbsp;of&nbsp;these&nbsp;is&nbsp;part&nbsp;of&nbsp;what&nbsp;makes&nbsp;the
<br>current&nbsp;code&nbsp;bulkier&nbsp;than&nbsp;it&nbsp;needs&nbsp;to&nbsp;be.
<br>
<br>If&nbsp;you&#39;re&nbsp;going&nbsp;to&nbsp;make&nbsp;your&nbsp;own&nbsp;time&nbsp;struct&nbsp;anyway,&nbsp;you&nbsp;may&nbsp;want&nbsp;to
<br>consider&nbsp;just&nbsp;using&nbsp;a&nbsp;64-bit&nbsp;count&nbsp;of&nbsp;microseconds,&nbsp;or&nbsp;something
<br>similar.&nbsp;&nbsp;You&#39;d&nbsp;get&nbsp;the&nbsp;same&nbsp;precision&nbsp;as&nbsp;you&nbsp;currently&nbsp;have,&nbsp;have&nbsp;a
<br>useful&nbsp;range&nbsp;(+/-&nbsp;300,000&nbsp;years),&nbsp;not&nbsp;have&nbsp;to&nbsp;deal&nbsp;with&nbsp;creating
<br>structs&nbsp;and&nbsp;passing&nbsp;them&nbsp;around,&nbsp;and&nbsp;have&nbsp;an&nbsp;easier&nbsp;go&nbsp;with&nbsp;the&nbsp;time
<br>arithmetic.&nbsp;&nbsp;The&nbsp;drawback&nbsp;would&nbsp;be&nbsp;having&nbsp;to&nbsp;do&nbsp;some&nbsp;conversion
<br>whenever&nbsp;you&nbsp;interact&nbsp;with&nbsp;the&nbsp;outside&nbsp;world.&nbsp;&nbsp;Anyway,&nbsp;not&nbsp;really
<br>relevant&nbsp;right&nbsp;at&nbsp;the&nbsp;moment,&nbsp;just&nbsp;something&nbsp;to&nbsp;consider.
<br>
<br>&gt;&gt;&nbsp;I&nbsp;understand&nbsp;that&nbsp;the&nbsp;last&nbsp;two&nbsp;points&nbsp;don&#39;t&nbsp;apply&nbsp;to&nbsp;the&nbsp;patches&nbsp;you&nbsp;have,&nbsp;but
<br>&gt;&gt;&nbsp;they&nbsp;come&nbsp;as&nbsp;indications&nbsp;that&nbsp;signed&nbsp;is&nbsp;preferred.
<br>&gt;
<br>&gt;&nbsp;Right
<br>&gt;
<br>
<br>Thiago&#39;s&nbsp;points&nbsp;make&nbsp;a&nbsp;lot&nbsp;of&nbsp;sense.&nbsp;&nbsp;So&nbsp;that&nbsp;makes&nbsp;it&nbsp;roughly&nbsp;3-0&nbsp;in
<br>favour&nbsp;of&nbsp;the&nbsp;signed&nbsp;patch,&nbsp;with&nbsp;justification&nbsp;and&nbsp;everything.
<br>
<br>Does&nbsp;anyone&nbsp;have&nbsp;any&nbsp;comments&nbsp;about&nbsp;the&nbsp;actual&nbsp;patch&nbsp;itself?
<br>
<br>Thanks.
<br>
<br>Peter.
<br>_______________________________________________
<br>dbus&nbsp;mailing&nbsp;list
<br>dbus@lists.freedesktop.org
<br>http://lists.freedesktop.org/mailman/listinfo/dbus
<br><p>&nbsp;</p><p>&nbsp;</p><!--SP:deepesh.t--><!--deepesh.t:EP--><p>&nbsp;</p><p>&nbsp;</p></BODY></HTML>