456-0326/01 – Thread Programming (PVL)
Gurantor department | Department of Computer Science | Credits | 4 |
Subject guarantor | doc. Mgr. Jiří Dvorský, Ph.D. | Subject version guarantor | doc. Mgr. Jiří Dvorský, Ph.D. |
Study level | undergraduate or graduate | Requirement | Optional |
Year | 2 | Semester | summer |
| | Study language | Czech |
Year of introduction | 2003/2004 | Year of cancellation | 2006/2007 |
Intended for the faculties | FEI | Intended for study types | Follow-up Master |
Subject aims expressed by acquired skills and competences
The main goal of this course is to demonstrate possibilities of parallel running subroutines within one application. Win32 platform is chosen as reference platform (Windows 2000 and Windows XP). Other platform will be compared with this one. Parallel subroutines can be effectively implemented as threads. Functions manipulating with threads, processes, and other OS kernel object will be presented. Critical sections, mutexes, async I/O, exception handling belong among other topics of the course.
Teaching methods
Summary
Programming with parallel running processes until recently was exclusive domain of powerful Unix computers. Increasing computation power of PC machines allows us run multi-tasking OS on common PC. Subroutines parallel running within on process can be implemented on Win32 platform using threads. Possible thread synchronization mechanism, memory sharing etc will be discussed together with threads. Implementation examples will be given.
Compulsory literature:
Jeffrey Richter: Advanced Windows, Microsoft Press 1997
Online dokumentace Microsoft Developers Network (MSDN), see msdn.microsoft.com
Recommended literature:
Way of continuous check of knowledge in the course of semester
E-learning
Other requirements
Prerequisities
Subject has no prerequisities.
Co-requisities
Subject has no co-requisities.
Subject syllabus:
Lectures:
Platform Win32
Kernel objects
Processes
Threads
Win32 memory architecture
Synchronization - critical section
Synchronization - mutex, semaphore
Input output operations
Exception handling
Conditions for subject completion
Occurrence in study plans
Occurrence in special blocks
Assessment of instruction
Předmět neobsahuje žádné hodnocení.