Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
6 user(s) are online (4 user(s) are browsing encyclopedia)

Members: 0
Guests: 6

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Active objects

Active Objects are a form of computer multitasking for computer systems. Specifically, they are a form of cooperative multitasking. They are an important feature of Symbian OS.

In the scheme, Object (computer science) may make requests of asynchronous services. (For example an application may request to send an Short message service). Once the request has been made, control returns to the object immediately. It may choose to do other things, or return control back to the operating system, which typically will schedule other tasks or put the machine to sleep. When making the request, the object includes a reference to itself.

When the asynchronous task has completed, the operating system will identify the thread (computer science) containing the requesting active object, and wake up that thread. An active scheduler in that thread will identify the object that made the request, and pass control back to that object.

The implementation of active objects in Symbian OS is based around each thread having a request semaphore . This is incremented when a thread is due to complete an asynchronous request, and decremented when the request has been completed. When there are no outstanding requests, the thread is put to sleep.

In practice, there may be many objects in a thread, each doing their own task. They can interact by requesting things of each other, and of active objects in other threads. They may even request things of themselves.