![]() ![]() Generalize common sets of active objects into an active class. Identify the opportunities for concurrent action and reify each flow as an active class.This view primarily addresses the performance, scalability, and throughput of the system.The process view of a system encompasses the threads and processes that form the system’s concurrency and synchronization mechanisms.Fourth, a message may be passed from a passive object to an active one.Third, a message may be passed from an active object to a passive object.a synchronous message is rendered as a full arrow and an asynchronous message is rendered as a half arrow.Second, one active object might asynchronously send a signal or call an operation of another object First, one active object might synchronously call an operation of another. In inter-process communication there are two possible styles of communication.Second, a message may be passed from one active object to another.First, a message may be passed from one passive object to another.In a system with both active and passive objects, there are four possible combinations of interaction.All the threads that live in the context of a process are peers of one another.(heavyweight means, a thing known to the OS itself and runs in an independent address space) > – Specifies a lightweight flow that can execute concurrently with other threads within the same process (lightweight means, known to the OS itself.) two standard stereotypes that apply to active classes are, > – Specifies a heavyweight flow that can execute concurrently with other processes.When an active object is created, the associated flow of control is started when the active object is destroyed, the associated flow of control is terminated.Active classes share the same properties as all other classes.Active classes are just classes which represents an independent flow of control.In a concurrent system, there is multiple simultaneous flow of control i.e, more than one thing can take place at a time. i.e, one thing, and one thing only, can take place at a time. In a sequential system, there is a single flow of control. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |