Concurrent Systems Flashcards
What is a Concurrent System?
Several components working at any time
Name two advantages of Concurrent Systems
Processing can go faster
Can sometimes be easier to program than sequential systems
Name two disadvantages of Concurrent Systems
Components can interfere with each other
Components need to communicate
Describe what is meant by Concurrent Programming
Writing programs which allow different parts of a system to execute concurrently and to co-operate
In terms of Concurrent Systems, What is Multitasking?
e.g. two (single threaded) applications running on a PC – editor and file manager
executing independently but can interact (e.g. dragging a file to the editor)
What is Multithreading?
can consider a thread as we consider a process
a program can consist of multiple ‘threads’ (running in a Java Virtual Machine (JVM))
Name two main types of Synchronisation?
mutual exclusion
condition synchronisation