Welcome to the Course Series on Multi-Threading – The Master Class Course on Threads.
[ ** STILL ADDING CONTENT TO IT, LAST UPDATED 09 JAN 2020 ** ]
This course is for those who want to develop fundamental concepts on Multi-threading and related concepts. In this course, we shall be going to cover Multi-threading concepts based on Pthreads (POSIX threads) on the Linux platform.
We shall discuss several concepts involved in multithreading and demonstrate each concept through a sample program. Several Important Concepts include but not limited to – Deadlocks, Mutual Exclusion, Atomicity, Thread Synchronization, Race Conditions, Thread forking, and many more.
In the Next Installment of this course, we shall extend our knowledge of Multi-threading to Advance Concepts which also include mini-projects on Multithreading and Thread Synchronization.
At each stage of this Course series, you shall be writing a lot of multi-threaded Codes. So be ready to Master the Multi-threading. Along the journey, we shall cover several interview-favorite topics and Questions to prepare you alongside for interviews.
Best of luck!
Table Of Contents:
= = = ======= = = =
1. Understanding Threads
Thread Creation & Termination
Race condition on Thread Creation
Passing Argument to Thread Function
Stack Memory Mgmt for Multi-threaded Programs
Thread Scheduling
2. Understanding Concurrency and Parallelism
Singlularism Vs Concurrency Vs Parallelism
Concurrent Process Design – 2 Examples
Threads as Light Weighted Process
Overlapping and Non-Overlapping Work
3. Joinable and Detached Threads
Joinable Vs Detached Threads
How to Join a thread
Whom to Join?
Sample – Map-Reduce Program
4. Inter Thread Communication
Understanding Callbacks and Function Pointers
Best way to implement ITC
Implementing Notification Chains
A Publisher Subscriber Model
How to Subscribe/UnSubscribe
How to send Notification to Subscribers
5. Asynchronous Thread Cancellation
Thread Cancellation
Asynchronous and Deferred Thread Cancellation
Problem with Async Thread Cancellation
Resource Leaking
Invariants
Deadlocks
Concept of Thread Cleanup Handlers
Prevent Resource Leaking
Data Structure Corruption – Invariants
Cancellation causing Deadlocks
6. Deferred Cancellation
Understanding Deferred Cancellation
Implementation
7. Listener Threads – Responsibility Delegation
Why Listener threads?
Designing Listener threads
Code Changes and Demo
Cancellation of blocked Threads << Delivered till here as on 09 Jan 2020
Listing Upcoming Topics ( Under Progress )
= = = = = = = = = = = = = = = = = = = = = =
2. Thread Pools
Then We enter into Thread Synchronization Topics :
3. Mutexes and their internal implementation
4, Condition Variables
5. Lock Size
6. Deadlocks
7. Standard Problems – Reader/Writer Problem, Dining Philosopher problem etc
8. Implementing Master-Slave Relationship between threads
9. Implementing Thread Scheduler
10. Implementing Thread Monitors
11. Semaphore based Synchronization
12. Deadlock Detection and Prevention
13. Asynchronous Programming using Threads (Say Good bye to Locking)
14. Implement Timers using Threads
15. How to fork a multi-threaded process
So you can see, some really amazing stuff is yet to come.
Depending on the content size, I may split the content into two parts – Course A & Course B. Don’t worry, whoever enrolls in part A will be given free entry in Part-B.
Happy Learning.
Who this course is for:
Engineering graduates & post-graduates
Working professionals and Job Seekers
Free lancers , System Engineers, Developers
Requirements
C language is MUST
Linux Operating Systems
Zeal to learn and excel
Enthusiasm to write lots of Code
Last Updated 1/2021
VISITOR COMMENTS (0 )
FILE LIST
Filename
Size
.pad/0
89 B
.pad/1
46 B
.pad/10
265.8 KB
.pad/11
201.4 KB
.pad/2
123 B
.pad/3
436.3 KB
.pad/4
370.9 KB
.pad/5
100.8 KB
.pad/6
331.4 KB
.pad/7
492.7 KB
.pad/8
220.8 KB
.pad/9
97.2 KB
TutsNode.com.txt
63 B
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/1. What is a Thread .srt
4.7 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/10. Thread Scheduling.srt
7 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/2. Code Access for this Course.srt
1.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/3. Hello World Ex - Part 1.mp4
60.8 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/3. Hello World Ex - Part 1.srt
12.7 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/4. Hello World Ex - Part 2.srt
5.3 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/5. Race Condition on Thread Creation.srt
5.5 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/6. Thread Termination.srt
5.5 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/7. main( ) thread termination.srt
2.9 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/8. Resource Sharing.srt
7.8 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/1. Getting Started With Multi-Threading/9. Thread Stack Memory Mgmt.srt
5.9 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/1. Introduction.srt
4.1 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/10. GLThread Benefits.srt
5.3 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/2. GLThread Definition.srt
5 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/3. Pictorial Difference.srt
5.2 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/4. Structure Field Offset.mp4
66.5 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/4. Structure Field Offset.srt
8.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/5. Node Insertion.srt
3.9 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/6. Iteration.srt
3.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/7. Node Removal.srt
1.3 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/8. Code Walk - Demo.mp4
49 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/8. Code Walk - Demo.srt
7.1 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/10. Appendix A Glue Based Linked List/9. Traditional Linked List Problems.srt
6.5 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/11. Bonus - Get some Candies !/1. Get My Courses for Free.srt
1.7 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/1. Understanding Concurrency (Analogy).srt
6.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/10. Overlapping and Non-Overlapping Work.srt
3.8 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/11. Conclusion and Summarization.srt
3.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/12. Probable Interview Questions.html
135 B
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/2. Understanding Parallelism (Analogy).srt
3.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/3. Understanding Singularism (Analogy).srt
5.7 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/4. Analogy -- Multithreading World (Mapping).srt
2.8 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/5. Multithreading Environment.mp4
55.2 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/5. Multithreading Environment.srt
16.1 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/6. Why do we need Concurrency .srt
6.7 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/7. Concurrent Process Design - Example 1.srt
6.9 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/8. Concurrent Process Design - Example 2.srt
4.9 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/2. Concurrency Vs Parallelism (Theory Section)/9. Why Threads are called Light Weighted Processes .srt
5.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/3. Joinable and Detached Threads/1. Joinable Threads.srt
7.8 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/3. Joinable and Detached Threads/2. Detached Threads.srt
3.1 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/3. Joinable and Detached Threads/3. Joinable Threads in Action.mp4
102.9 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/3. Joinable and Detached Threads/3. Joinable Threads in Action.srt
22.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/3. Joinable and Detached Threads/4. Whom to Join .srt
5.1 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/3. Joinable and Detached Threads/5. Implementing Map-Reduce Algorithm - Problem Statement.mp4
53.3 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/3. Joinable and Detached Threads/5. Implementing Map-Reduce Algorithm - Problem Statement.srt
11.5 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/3. Joinable and Detached Threads/6. When to Create JoinableDetached Thread .srt
2.6 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/3. Joinable and Detached Threads/7. Practice Assignment.html
135 B
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/4. Inter Thread Communication/1. Inter Thread Communication.srt
5.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/4. Inter Thread Communication/2. Transfer of Computation.srt
7.1 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/4. Inter Thread Communication/3. Transfer of Computation - Example.srt
7.3 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/4. Inter Thread Communication/4. Opening Gates to Publisher Subscriber Model.srt
2.1 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/5. Let us go on Vacations ! yaay !/1. Vacations ! Dont miss it !.srt
2 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/1. Notification Chains - Introduction.srt
4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/10. Subscription and Notification.srt
2.8 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/11. Mandatory Assignment.html
135 B
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/12. Implementing Subscription.mp4
56.4 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/12. Implementing Subscription.srt
10 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/13. Implementing Notification.srt
7.9 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/14. Final Demo !.srt
4.1 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/2. NFC - Pictorial Representation.mp4
50.4 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/2. NFC - Pictorial Representation.srt
9.9 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/3. NFC - Data Structure.srt
6.3 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/4. NFC Implementation.mp4
58.6 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/4. NFC Implementation.srt
10.5 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/5. Assignment - NFC Some Enhancement.html
135 B
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/6. Real World - Problem Statement On NFC - Publisher Subscriber Model.srt
5.8 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/7. Setting up a Data Source.srt
5.9 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/8. Setting Up the Publisher.mp4
49.3 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/8. Setting Up the Publisher.srt
10.4 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/9. Setting up the Subscriber.mp4
64.5 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/6. Notification Chains/9. Setting up the Subscriber.srt
12.5 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/7. Thread Cancellation - Asynchronous/1. Why Thread Cancellation .srt
3.9 KB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/7. Thread Cancellation - Asynchronous/10. Cleanup handlers Usage.mp4
49.7 MB
[TutsNode.com] - Master Class - Multithreading & Thread Synchronization in C/7. Thread Cancellation - Asynchronous/10. Cleanup handlers Usage.srt