[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs]  tools/dtdriver/dtdrplin datatypedr.cpp, 1.28.2.4.18.1, 1.28.2.4.18.2
From:       gwang () helixcommunity ! org
Date:       2013-09-10 8:19:46
[Download RAW message or body]

Update of /cvsroot/datatype/tools/dtdriver/dtdrplin
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv17216

Modified Files:
      Tag: PRODUCER_14_0_9
	datatypedr.cpp 
Log Message:
Synopsis
========
This CR Fix (Helix Producer Linux 64bit version) dtdriver 
thread conflict



Branch : PRODUCER_14_0_9

reviewed : James

My Fix:
   1. The terminate function should called by message style.
     

Files affected:
===============
/datatype/tools/dtdriver/dtdrplin/datatypedr.cpp
/client/encodesvc/engine/encsession/settingsadvisor.cpp

Files added:
============
/datatype_rn/h264/codec/decoder_mc/unix.pcf

Testing Performed:
=================


Unit Tests: 
   1 No

NOTE:
=================
client_encodesvc_engine_encsession:
    settingsadvisor.cpp: line 2440 We have to modify it later
/producerapps_rn/installer/producer/make_tempdir
    These modules which can't complie was just comment.

Leak Tests: None
Performance Tests: N/A

Platforms Tested: linux-2.6-i686

QA Hints
no

Index: datatypedr.cpp
===================================================================
RCS file: /cvsroot/datatype/tools/dtdriver/dtdrplin/datatypedr.cpp,v
retrieving revision 1.28.2.4.18.1
retrieving revision 1.28.2.4.18.2
diff -u -d -r1.28.2.4.18.1 -r1.28.2.4.18.2
--- datatypedr.cpp	7 Aug 2013 02:39:42 -0000	1.28.2.4.18.1
+++ datatypedr.cpp	10 Sep 2013 08:19:38 -0000	1.28.2.4.18.2
@@ -1554,7 +1554,8 @@
     AddRef();
 
     // Shutdown the internal thread - will wait until thread exits.
-    ShutDown();
+    // We don't need ShutDown here, it will be done in m_pDTDResponse->OnTerminate(status);
+    // ShutDown();
 
     // Thread has exited. Set state to closed.
     m_state = State_Closed;
@@ -1565,7 +1566,8 @@
         m_pDTDResponse->OnTerminate(status);
     }
 
-    CleanUp();
+    // We don't need ShutDown here, it will be done in m_pDTDResponse->OnTerminate(status);
+    // CleanUp();
 
     Release();
 


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic