Talk:Active object (Symbian OS)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated Stub-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 

Multitasking[edit]

I don't get it... Symbian is a pre-emptive multitasking system. How come the article is talking about cooperative multitasking?

Cheers! —The preceding unsigned comment was added by Maju wiki (talkcontribs) 22:40, 23 November 2006 (UTC).

I believe the author of this section has confused "active object" with "active objects". Therefore, I suggest this section be moved to the other article, and any confusion between the two be cleaned up according to the "overlap" section discussed below. — Stimpy 16:55, 3 July 2007 (UTC)
Symbian is pre-emptive, indeed. The thing is that in Symbian there are three type of objects involved in the Active Object: many Asynchronous Service Providers, one Active Scheduler and many Active Objects. The asynchronous service providers are on different threads than the Active Scheduler and the Active Objects, but this last two share the same thread -which is, in fact, the same as the application. Because of this reason, the multitasking performed by the Active Scheduler and the Active Objects is cooperative.Jmpep (talk) 00:01, 15 November 2008 (UTC)

Overlap[edit]

I think this article overlaps with Active Object. See Talk:Active Object#Overlap. —The preceding unsigned comment was added by Felix Wiemann (talkcontribs) 03:29, 24 February 2007 (UTC).

An "Active object" is an object that has interface and operations on different threads.The "Active objects" article seems to be a normal object that is waiting on service response--Tim 04:38, 11 March 2007 (UTC)
As I understand it, an active object has to do with multithreading, whereas active objects is a variant of the lockstep protocol in which packets from one client to another are wrapped in such a way that neither of them can read it until they've both negotiated their intentions. See Algorithms and Networking for Computer Games (Jouni Smed and Harri Hakonen) p.217-220 for more detailed information. — Stimpy 16:53, 3 July 2007 (UTC)
I do not see what Symbian's Active Object pattern has to do with the lockstep protocol. This is an explanation from Nokia on the subject: http://wiki.forum.nokia.com/index.php/Active_Objects_in_Symbian_OS. Not only does it never mention the lockstep protocol, but it do states that it is used for dealing with asynchronous calls between threads.Jmpep (talk) 00:01, 15 November 2008 (UTC)