[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-common-cvs
Subject: [Common-cvs] system/pub/platform/symbian CHXSymbianServer.h, 1.2,
From: rrajesh () helixcommunity ! org
Date: 2010-10-20 21:42:24
Message-ID: 201010202142.o9KLgsvV014067 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/common/system/pub/platform/symbian
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv27922/pub/platform/symbian
Modified Files:
CHXSymbianServer.h CHXSymbianServerDebug.h
Log Message:
Modified by:rajesh.rathinasamy@nokia.com
Reviewed by: Girish Shetty
Date: 19-Oct-2010
Project: SymbianMmf_wm
Synopsis: Symbian DLL TLS usage updated
DLL TLS is used in CHXSymbianServer implementation to store the log mode. DLL TLS can \
only be used for DLL and will not link against exe. So migrated it to UserSvr TLS. \
Functionality remains the same.
Also added callback functions to serverCtx to get notifications about session death \
and server stop. This helps the ctx to keep track of the number of active sessions. \
OnStop notification provides an option for Ctx to cleanup thread specific resopurces. \
Files Modified:
common/system/platform/symbian/CHXSymbianServer.cpp
common/system/pub/platform/symbian/CHXSymbianServer.h
common/system/pub/platform/symbian/CHXSymbianServerDebug.h
New files added: None.
Image Size and Heap Use impact: no major impact
Module Release testing (STIF) : Passed.
Memory Leak Testing: Passed
Test case(s) Added : No
Platforms and Profiles Build Verified: helix-client-s60-52-mmf-mdf-dsp
Platforms and Profiles Functionality verified: armv5, winscw
Branch: 420Brizo, Head
Index: CHXSymbianServerDebug.h
===================================================================
RCS file: /cvsroot/common/system/pub/platform/symbian/CHXSymbianServerDebug.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CHXSymbianServerDebug.h 25 Jan 2008 22:07:18 -0000 1.2
+++ CHXSymbianServerDebug.h 20 Oct 2010 21:42:22 -0000 1.3
@@ -68,6 +68,8 @@
#include <stdio.h>
#include <e32def.h>
#include <flogger.h>
+#include <e32svr.h>
+#define HLX_SYM_SVR_TLS_LOG_MODE_INDEX 0xff01
// By default file logging is enabled
//#define SYM_SRV_LOGGING_MODE_CONSOLE 1
@@ -85,7 +87,7 @@
#define SERVER_LOG(X) CHXSymbianServerDebug::NullLog X
#else
#define SERVER_LOG(X) { \
- TInt* pConsoleLogEnabled = (TInt*) Dll::Tls();\
+ TInt* pConsoleLogEnabled = (TInt*) \
UserSvr::DllTls(HLX_SYM_SVR_TLS_LOG_MODE_INDEX);\
if((pConsoleLogEnabled == NULL) || (*pConsoleLogEnabled == \
HLX_SYM_SVR_LOG_DISABLED))\ { \
CHXSymbianServerDebug::NullLog X; \
Index: CHXSymbianServer.h
===================================================================
RCS file: /cvsroot/common/system/pub/platform/symbian/CHXSymbianServer.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CHXSymbianServer.h 25 Jan 2008 22:07:18 -0000 1.2
+++ CHXSymbianServer.h 20 Oct 2010 21:42:22 -0000 1.3
@@ -86,6 +86,8 @@
void SetSecurityPolicy(TSecurityPolicy& aSecurityPolicy);
virtual CSession2* NewSessionL(const TVersion& aVersion, const RMessage2& \
/*aMessage*/) = 0; + virtual void SessionClosed(CSession2*){};
+ virtual void OnServerStop(){};
_______________________________________________
Common-cvs mailing list
Common-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/common-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic