Why the session of RTimer can't be shared among threads.
| Fri, 2007-08-24 04:24 | |
|
Hi experts, When I use RTimer class, I noticed that there's only one initilize functions called CreateLocal()-- I'm wondering why Symbian still do this? As we know, the session can be share among threads from Why session of RTimer can't be shared??? Thank you in advance. Regards, Taking you forward. |
|






Forum posts: 1134
Hmm.. Why would you want to?
I don't really see the point of shareing timers, since they don't contain any information that would be useful for any other thread.
Forum posts: 721
Have you already had a look at
RTimer's (and eventuallyRHandleBase's)Duplicate()method? Having read the documentation (but without making any experiments) I think a timer object can be used in multiple threads. And eventually any objects derived from RHandleBase.Tote
Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/