[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-client-cvs
Subject: [Client-cvs] encodesvc/common/system/platform/unix
From: mazimi () helixcommunity ! org
Date: 2010-08-20 21:00:20
Message-ID: 201008202100.o7KL0Iv7005491 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/client/encodesvc/common/system/platform/unix
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv3932
Modified Files:
hxtmacunixthread.cpp
Log Message:
Synopsis
========
Fix for Linux CUtThread's threadID always returns zero, needed for fixing Bug 262755: \
Sometimes producer will freeze on linux while encoding a file
Branches: HEAD, P14
Description
===========
CUtThread::GetLastCreatedThreadId impl on Linux always return treadID zero. This is \
because of a bug introduced in the CHXTThread::Create, this method used to set the \
internal m_ulThreadId. However this call has been commented out, and m_ulThreadId is \
never being set. The CVS comments all point out this change has been accidental and \
it seems it has been checked in by mistake. Fix is to add this call back. producer's \
fix for BUG262755 needs this fix.
Files Affected
==============
Changed files:
client/encodesvc/common/system/platform/unix/hxtmacunixthread.cpp
Testing Performed
=================
* verified that GetLastCreatedThreadId now return the threadID of created thread.
Platforms Tested: linux
QA Hints
========
Index: hxtmacunixthread.cpp
===================================================================
RCS file: /cvsroot/client/encodesvc/common/system/platform/unix/hxtmacunixthread.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- hxtmacunixthread.cpp 16 Jun 2009 18:05:38 -0000 1.5
+++ hxtmacunixthread.cpp 20 Aug 2010 21:00:17 -0000 1.6
@@ -780,7 +780,7 @@
{
if ( CUtThread::Create (ThreadPtr,pArg,bDetach) )
{
- //m_pcontThread->GetThreadId(m_ulThreadId);
+ m_pcontThread->GetThreadId(m_ulThreadId);
// RSLOG_CREATE_CHILD_THREAD(m_pcontThread->GetCurrentThreadID(),m_ulThreadId);
// LARS 2007-08-21 - the preceeding call m_pcontThread->GetCurrentThreadID() \
appears to get the
// the ID of the thread that calls it (Odd that it was \
implemented as a member
_______________________________________________
Client-cvs mailing list
Client-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/client-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic