AceTheInterview
Jobs in Pune | Work better in teams | Socialize with friends | Submit Q&A | Tell a friend
Search site for 

Top 100 Interview Questions & Answers in a convenient and easy to read book!

“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”

– Ravi, California

Read more comments...

Interview Questions And Answers RSS Feed

Answers »

  1. Submitted By: daniel — January 23, 2007
    +0 votes
      + -

    We need Active Objects to perform multi-tasking in a single thread. It is also needed when you deal with client-server architecture inside Symbian. RunL() needs to be kept short as it is an non-preemptive multi-tasking process, it would hang the system otherwise.

  2. Submitted By: Nitin Sahdev — December 9, 2007
    +3 votes
      + -

    Active Objects are a way in Symbian to implement Asynchronous processing. This is also called co-operative multitasking as the requests placed by AO are non-preemptive. This approach of AO is preferred in Symbian over multithreading due to lesser overhead involved in context switching between AOs than the overhead involved in the context switching of Threads. But situations where Real Time response is required, Multithreading is the better option than AOs because the RunL() of an AO cannot be preempted untill it has finished its task, which can make AO unfit for real time operations. To implement AO(Active Objects) you need to derive your class from CActive and implement its two pure virtual functions RunL() and DoCancel().

  3. Leave an Answer/Comment

    To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
    Click to hear an audio file of the anti-spam word

Our Sponsors
Our Sponsors
Contact Us | FAQ | Sitemap | Terms of Use | Privacy Policy | Tell a Friend

Copyright © 1999-2006 Jeeve Technologies LLC. All rights reserved.