Active objects


Active objects

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

In the scheme, objects may make requests of asynchronous services (e.g. sending an SMS message). Once the request has been made, control is given 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 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.

Notice that this is a software implementation of a very old idea that was developed to handle software interruptions in the 70s. The operating system was acting as the first object and the peripheral as the second one.


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Active Oberon — Класс языка: императивный, структурированный, модульный Появился в: 2000 Автор(ы): Patrik Reali, B. Meyer, Brinch Hansen, Pieter Muller, Jurg Gutknecht (Юрг Гуткн …   Википедия

  • Active Directory — (AD) is a directory service created by Microsoft for Windows domain networks. It is included in most Windows Server operating systems. Server computers on which Active Directory is running are called domain controllers. Active Directory serves as …   Wikipedia

  • Active Worlds — Developer(s) Active Worlds, Inc. Publisher(s) …   Wikipedia

  • Active sensory systems — are sensory receptors that are activated by probing the environment with self generated energy. Examples include echolocation of bats and dolphins and insect antennae. Using self generated energy allows more control over signal intensity,… …   Wikipedia

  • Active Directory — (AD) es el término que usa Microsoft para referirse a su implementación de servicio de directorio en una red distribuida de computadores. Utiliza distintos protocolos (principalmente LDAP, DNS, DHCP, Kerberos...). Su estructura jerárquica permite …   Wikipedia Español

  • Active Server Pages — Developer(s) Microsoft Stable release 3.0 (no further versions planned) Type Web application framework License Proprietary …   Wikipedia

  • Active shape model — Active shape models (ASMs) are statistical models of the shape of objects which iteratively deform to fit to an example of the object in a new image. The shapes are constrained by the PDM (Point Distribution Model) Statistical Shape Model to vary …   Wikipedia

  • Active galactic nucleus — An active galactic nucleus (AGN) is a compact region at the centre of a galaxy which has a much higher than normal luminosity over some or all of the electromagnetic spectrum (in the radio, infrared, optical, ultra violet, X ray and/or gamma ray… …   Wikipedia

  • Active camouflage — Illustrating the concept, i.e. active capture and re display, creates an illusory transparency , also known as computer mediated reality Active camouflage or adaptive camouflage, is a group of camouflage technologies which allow an object to… …   Wikipedia

  • Active Template Library — The Active Template Library (ATL) is a set of template based C++ classes developed by Microsoft that simplify the programming of Component Object Model (COM) objects. The COM support in Microsoft Visual C++ allows developers to create a variety… …   Wikipedia


Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.