Main
6th lecture -- Threading and synchronization
Slides
Source codes -- the examples were created to illustrate particular features of .NET and are not an example of good programming habits.
- ThreadsExample.cs
- ThreadPriorityExample.cs
- ThreadPoolExample.cs
- CriticalSectionExample.cs
- MonitorBasicExample.cs
- MonitorExample.cs
- MutexExample.zip
- SemaphoreExample.cs
- AsyncDelegatesExample.cs
Homework assignment
Finish the assignment from the seminar. I do not state any restrictive details here as I want you to create an application that you will be satisfied with. So you are free to employ any gadgets that you find useful for the sake of efficiency, readability of the code or user-friendliness. After you finish the application, submit the result by April 19 here
Notes, corrections etc.
- As some of you pointed out after the lecture, there is one class that I could have mentioned: It is the BackgroundWorker class, it can be used to simplify some of the programming tasks we mentioned in the lecture.