1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
monitor
a synchronization method which is an abstract data type used in concurrent programming to manage shared data that encapsulates the shared data and its operations to restrict access
heavyweight task
a task category which is a task that executes in their own isolated address space, they do not share memory with others
how is logical concurrency achieved
it is achieved by timesharing a lone processor, in which it may look like there were multiple threads of control, but it switches quickly between tasks
task vs subprograms
it may be implicitly started without a direct function call
a program doesnt have to wait for a task to finish
when a task is completed, control may not return to caller
Competition synchronization
it is two or more tasks that must use a resource that cannot be simultaneously used, it is needed to avoid conflicts or corruption when reading/writing data
semaphore
it is a data structure consisting of a counter and a queue for storing task descriptor, it controls who can go, who has to wait, and in what order to ensure order in concurrent systems