Active Objects - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Active Objects (803 Views)
| Active Objects by harryobas(op): 1:20pm On Feb 12, 2013 |
In object-oriented programming, the concept of an active object refers to objects that exist in their own thread of execution and have their own address space.Calls to active objects are inheretly asychronous(i.e non-blocking) hence active objects are a better way to implement multi-threading than using raw threads. This is because active objects tend to multi-task co-operatively within a thread also using active objects does not require sychronization as opposed to using raw threads where data shared by threads must be protected with access synchronization primitives such as mutexes or semaphores. |
| Re: Active Objects by Nobody: 8:24pm On Feb 12, 2013 |
lol... |
| Re: Active Objects by lordZOUGA(m): 9:18pm On Feb 12, 2013 |
webdezzi: lol...lmao |
| Re: Active Objects by Seun(mod): 9:55pm On Feb 12, 2013 |
Thanks. I think they are also known as "Actors". |
| Re: Active Objects by solomon201(m): 5:07pm On Feb 16, 2013 |
harryobas: In object-oriented programming, the concept of an active object refers to objects that exist in their own thread of execution and have their own address space.Calls to active objects are inheretly asychronous(i.e non-blocking) hence active objects are a better way to implement multi-threading than using raw threads. This is because active objects tend to multi-task co-operatively within a thread also using active objects does not require sychronization as opposed to using raw threads where data shared by threads must be protected with access synchronization primitives such as mutexes or semaphores.**whistling away** |
Understanding Programming-(lesson 1- Abstraction Of Objects) • Value Objects In Java • Business Objects Connectivity To Oracle Rdb Database Issue • 2 • 3 • 4
Help On Php Form • To Lean Programming Language What Do I Need To Know First • How To Install The Right Version Of Code::blocks