<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi, <BR>
&nbsp;<BR>
I did a quick search in radvd code and found several places in vlog(), where localtime() is used.<BR>
&nbsp;<BR>
I have a rough understanding about this call: it&nbsp;is not a reentrant call, which means&nbsp;it is not supposed to be used in signal handling context.<BR>
&nbsp;<BR>
vlog() call is used to print log in different methods, and localtime() is called to format time stamp in log. It can be called in both normal application context and signal handling context, which maybe will cause deadlock.<BR>
&nbsp;<BR>
Is this a problem?&nbsp;Please help to point it out, if I&nbsp;have any misunderstanding here.<BR>
&nbsp;<BR>
Please refer to this post for more information:<BR>
<A href="http://forums.fedoraforum.org/showthread.php?t=187375">http://forums.fedoraforum.org/showthread.php?t=187375</A><BR>
&nbsp;<BR>
Thanks,<BR>
Victor<BR><br /><hr />与任何您希望的人分享您的回忆。 <a href='http://www.microsoft.com/china/windows/windowslive/products/photos-share.aspx?tab=1' target='_new'>任何您希望的人。</a></body>
</html>