MultiThreading and IPC with Qt 5 C
What you’ll learn
Creating and Managing Threads
Sending Feedback to main thread
Thread Synchronization
Thread Safety and Reentrancy
Using Thread Pools
Qt Concurrent : High level Threading API
Managing Processes
Inter Process Communication
DBus
Requirements
Basic Qt C++ Knowledge
Strong drive and willingness to learn
Description
Special Note : This course is based on Qt 5. Qt 6 is the latest version of Qt (Released in December 2020), and it introduced some changes that won’t work with code written for Qt 5. Threading is one of the highly affected areas of Qt. We will be creating an update that takes Qt 6 in consideration over the next few months, but with this course, we highly recommend using Qt 5.Qt is a cross platform application development framework , you can use it to develop applications for windows, mac, linux , mobile and embedded devices.This course will enable you to take advantage of the Multi-threading and Inter Process Communication features offered by the Qt framework, using the C++ programming language.You will learn and master different ways you can create and manage threads, give them work they can do in the background and let them report back to you when they are done with the results.The course won’t just show you how to create threads and use them to improve the design of your application; you will also understand why each technique works and the common pitfalls one comes across when using threads and IPC in their C++ applications.The lectures are carefully designed backed by engaging demos for you to try out the concepts on your own, right away. If you’re looking to use Multi-threading or Inter Process Communication in your Qt C++ applications, this course will get you up and running in the shortest amount of time possible. Here are some of the things you’ll get to master as you go through the course : Creating and Managing ThreadsSending Feedback to main threadThread SynchronizationThread Safety and ReentrancyUsing Thread PoolsQt Concurrent : High level Threading APIManaging ProcessesInter Process CommunicationDBusand moreQt is the platform of choice for thousands of software projects, both open source and commercial, including the one we passionately use to record our videos. If you want to use threads and inter process communication mechanisms in your cross platform applications, Qt is going to make your life a whole lot easier. Please check out some of the preview videos, and let’s get you started using Threads and Inter Process Communication, in your Qt C++ cross platform applications.
Overview
Section 1: Introduction
Lecture 1 Welcome
Lecture 2 Threads, Processes and IPC : Context
Section 2: Creating Threads
Lecture 3 Threading Overview
Lecture 4 QThread-Create
Lecture 5 MoveToThread
Lecture 6 Subclass QThread
Lecture 7 QThread with asynchronous code-QThread-Create
Lecture 8 QThread with asynchronous code-MoveToThread
Lecture 9 QThread with asynchronous code-Subclass QThread
Lecture 10 ThreadPool and QRunnable
Lecture 11 ThreadPool and QRunnable – Sending feedback to ui
Lecture 12 ThreadPool and QRunnable – Async Code
Lecture 13 Custom Type Signal Parameters
Lecture 14 Threading Methods Comparison
Section 3: Thread Synchronization
Lecture 15 Thread Synchronization Overview
Lecture 16 Thread Synchronization – Mutex
Lecture 17 Thread Synchronization – Mutex -Shared variable
Lecture 18 Thread Synchronization – ReadWrite Lock
Lecture 19 Thread Synchronization – Semaphores
Lecture 20 Thread Synchronization – WaitConditions
Lecture 21 Wait Conditions – Pause Resume
Lecture 22 Thread Synchronization- Chapter Review
Section 4: Thread Safety and Reentrancy
Lecture 23 Thread Safety and Reentrancy Overview
Lecture 24 Cross Thread Signals and Slots – Example1
Lecture 25 Cross Thread Signals and Slots – Example2
Lecture 26 Cross Thread Signals and Slots – Example3
Lecture 27 Slots in QThread Subclass
Lecture 28 Thread Safety and Reentrancy – Chapter Review
Section 5: Qt Concurrent
Lecture 29 Qt Concurrent Overview
Lecture 30 Qt Concurrent-run-synchronous
Lecture 31 Qt Concurrent Asynchronous – Return values
Lecture 32 Qt Concurrent-map
Lecture 33 Qt Concurrent-maped
Lecture 34 Qt Concurrent-mapReduced
Lecture 35 Qt Concurrent-Filter
Lecture 36 Qt Concurrent-Filtered
Lecture 37 Qt Concurrent-FilterReduce
Lecture 38 Qt Concurrent-QFutureSynchronizer
Lecture 39 Qt Concurrent : Feedback
Lecture 40 Threading Overview-Comparison
Section 6: Processes
Lecture 41 Processes and QProcess
Section 7: Inter Process Communication
Lecture 42 IPC Overview
Lecture 43 IPC- SharedMemory
Lecture 44 IPC -TCP( QTcpSocket)
Lecture 45 IPC – Files on FileSystem
Lecture 46 IPC Overview-Comparison
Section 8: DBus
Lecture 47 DBus Overview
Lecture 48 DBus-Client-Server : Server
Lecture 49 DBus Client-Server : Client
Lecture 50 DBus-SignalsSlots
Lecture 51 QDBusMessage
Lecture 52 QDBusInterface
Lecture 53 Introspection
Lecture 54 DBus-Overview
Section 9: Wrap up
Lecture 55 Course Wrap up
Anyone willing to use Qt C++ threading capabilities in their projects.
Course Information:
Udemy | English | 12h 52m | 12.14 GB
Created by: Daniel Gakwaya
You Can See More Courses in the Developer >> Greetings from CourseDown.com