equal
deleted
inserted
replaced
28 #include "sensrvservermediator.h" |
28 #include "sensrvservermediator.h" |
29 #include "sensrvssyactivescheduler.h" |
29 #include "sensrvssyactivescheduler.h" |
30 #include "sensrvclientserver.h" |
30 #include "sensrvclientserver.h" |
31 #include "sensrvthreadmonitor.h" |
31 #include "sensrvthreadmonitor.h" |
32 #include "sensrvchanneldatareader.h" |
32 #include "sensrvchanneldatareader.h" |
|
33 #include <e32std.h> |
|
34 #include <e32cmn.h> |
|
35 |
|
36 |
33 |
37 |
34 // --------------------------------------------------------------------------- |
38 // --------------------------------------------------------------------------- |
35 // 2-phase constructor |
39 // 2-phase constructor |
36 // --------------------------------------------------------------------------- |
40 // --------------------------------------------------------------------------- |
37 // |
41 // |
249 |
253 |
250 while (err == KErrAlreadyExists) |
254 while (err == KErrAlreadyExists) |
251 { |
255 { |
252 |
256 |
253 buf->Des().AppendNum(iProxyManager.GenerateUniqueId()); |
257 buf->Des().AppendNum(iProxyManager.GenerateUniqueId()); |
|
258 |
254 |
259 |
255 err = iSsyThread.Create(*buf, |
260 err = iSsyThread.Create(*buf, |
256 SsyThreadFunction, |
261 SsyThreadFunction, |
257 ProxyManager().SsyStackSize(), |
262 ProxyManager().SsyStackSize(), |
258 KSensrvSsyHeapInitialSize, |
263 NULL, |
259 ProxyManager().SsyHeapMaxSize(), |
|
260 (TAny*)this); |
264 (TAny*)this); |
261 |
|
262 if (err == KErrAlreadyExists) |
265 if (err == KErrAlreadyExists) |
263 { |
266 { |
264 COMPONENT_TRACE( ( _L( "Sensor Server - CSensrvPluginProxy::InitializePluginL - Thread name is already in use, recreating..." ) ) ); |
267 COMPONENT_TRACE( ( _L( "Sensor Server - CSensrvPluginProxy::InitializePluginL - Thread name is already in use, recreating..." ) ) ); |
265 } |
268 } |
266 |
269 |