TDIU16 |
Concurrent and Operating Systems Programming, 4 ECTS credits.
/Process- och operativsystemprogrammering/
For:
DI
IP
|
OBS! |
Overlapping course contents: TDDB63, TDDB68, TDDB72, TDDI12, TDDI81
|
|
Prel. scheduled
hours: 60
Rec. self-study hours: 47
|
|
Area of Education: Technology
Main field of studies: Computer Engineering, Programming
|
|
Advancement level
(G1, G2, A): G2
|
|
Aim:
After the course, the student will be able to:
- implement a basic set of system calls in the educational operating system Pintos
- explain concepts related to synchronization
- analyse program code to identify critical sections and busy wait, and use suitable mechanisms to make it thread safe in a correct and adequate way
|
|
Prerequisites: (valid for students admitted to programmes within which the course is offered)
The course presume very good proficiency in programming and basic data structures, as well as good knowledge about operating systems; processes, threads and system calls.
Note: Admission requirements for non-programme students usually also include admission requirements for the programme and threshhold requirements for progression within the programme, or corresponding.
|
|
Supplementary courses:
Parallel programming, real time systems, embedded systems
|
|
Organisation:
Students will (in approximate order):
- be introduced to C programming and synchronization concepts during lectures
- implement a set of thread safe system calls in the educational operating system Pintos (implemented in C)
The course is given in Swedish to the extent possible. If Swedish speaking faculty, or suitable Swedish literature, is missing those parts will be in English.
|
|
Course contents:
The course is very hands-on and involve many hours programming in a larger code base consisting of the educational operating system Pintos.
The course includes:
- work in and expansion of a larger system.
- implementation of a basic set of system calls.
- concepts related to synchronization, such as thread, critical section, atomic operation.
- how to mechanisms like locks, semaphores and conditions works and are used in an adequate way.
- how to avoid busy wait.
- how deadlocks occur and methods to prevent them, for example bankers algorithm.
|
|
Course literature:
Operating Systems Concepts by Silberschatz A, Galvin P, Gagne G, 9th edition or later. Chosen articles relevant for the field.
|
|
Examination: |
|
Written examination Computer execises |
1 ECTS 3 ECTS
|
|
|
|
Course language is Swedish.
Department offering the course: IDA.
Director of Studies: Ahmed Rezine
Examiner: Klas Arvidsson
Course Syllabus in Swedish
|