filmov
tv
How to use threads in C++11 (multitasking, mutual exclusion, etc.)

Показать описание
In this tool-assisted education video I explain the tools that C++11 introduced for creating multi-threaded programs. We will study each concept individually from #threads to condition variables and from futures to promises.
ENGLISH-LANGUAGE CLOSED CAPTIONS ARE AVAILABLE.
Music used in the video, in order of appearance:
– Wizardry V :: Artifacts (Kentarou Haneda)
– Star Ocean :: Calm Time (Motoi Sakuraba)
– Wonder Project J :: House (Akihito Mori)
Footage music (also played through homebrew software):
– Cave Story :: Geothermal
Cameras used: Canon EOS 1200D, Canon PowerShot SX110IS
Lens: Tokina AT-X PRO 11-16mm F2.8 DX
Programming footage in: DOSBox
Resampling with: ffmpeg
Video editing in: kdenlive
Audio editing in: audacity & kdenlive
Muxing in: mkvmerge
Production dates: 2015-12-03 through 2016-01-22
Desktop computer is: Raspberry Pi
Secret code: OwjQkUo9Bgk
Compilers used: GCC 5.3.1
Robot is: Nao V4
If anything in the video requires clarification, please write a comment. I try to reply to every unique comment that contains a question addressed to me. Please make sure your privacy settings (possibly found as far as in Google+) will not prevent me from actually replying.
The editor used in the video, with Mario and all, is a 16-bit homebrew editor that only runs in 16-bit DOS. You can download it at the download page, but note that it is only designed for video making. It’s not meant for actual use, but it does work and is largely modelled after Joe.
Linux is used under DOSBox (for purpose of video production only) by using a modified version of DOSBox that provides forkpty() functions as DOS interrupts, and a homebrew terminal program running in DOS, that supports xterm-256color escapes. The terminal program is useless without the patched version of DOSBox (and furthermore this patch will only work in Linux). Nonetheless you can find both on the download page, linked above.
Reference material used and highly recommended:
Note to self: Possible topics for a hypothetical second episode:
– Thread-local variables
– Memory order declarations
– What the standard says about memory interactions between threads
– What the standard guarantees about when variable changes are committed into RAM
– Clustering
– CPU affinity
#Bisqwit #ThreadProgramming #Tutorial #Parallelism #Programming
ENGLISH-LANGUAGE CLOSED CAPTIONS ARE AVAILABLE.
Music used in the video, in order of appearance:
– Wizardry V :: Artifacts (Kentarou Haneda)
– Star Ocean :: Calm Time (Motoi Sakuraba)
– Wonder Project J :: House (Akihito Mori)
Footage music (also played through homebrew software):
– Cave Story :: Geothermal
Cameras used: Canon EOS 1200D, Canon PowerShot SX110IS
Lens: Tokina AT-X PRO 11-16mm F2.8 DX
Programming footage in: DOSBox
Resampling with: ffmpeg
Video editing in: kdenlive
Audio editing in: audacity & kdenlive
Muxing in: mkvmerge
Production dates: 2015-12-03 through 2016-01-22
Desktop computer is: Raspberry Pi
Secret code: OwjQkUo9Bgk
Compilers used: GCC 5.3.1
Robot is: Nao V4
If anything in the video requires clarification, please write a comment. I try to reply to every unique comment that contains a question addressed to me. Please make sure your privacy settings (possibly found as far as in Google+) will not prevent me from actually replying.
The editor used in the video, with Mario and all, is a 16-bit homebrew editor that only runs in 16-bit DOS. You can download it at the download page, but note that it is only designed for video making. It’s not meant for actual use, but it does work and is largely modelled after Joe.
Linux is used under DOSBox (for purpose of video production only) by using a modified version of DOSBox that provides forkpty() functions as DOS interrupts, and a homebrew terminal program running in DOS, that supports xterm-256color escapes. The terminal program is useless without the patched version of DOSBox (and furthermore this patch will only work in Linux). Nonetheless you can find both on the download page, linked above.
Reference material used and highly recommended:
Note to self: Possible topics for a hypothetical second episode:
– Thread-local variables
– Memory order declarations
– What the standard says about memory interactions between threads
– What the standard guarantees about when variable changes are committed into RAM
– Clustering
– CPU affinity
#Bisqwit #ThreadProgramming #Tutorial #Parallelism #Programming
Комментарии