Skip to main content

Command Palette

Search for a command to run...

Day 18/100 100 Days of Code

Tutorials

Published
1 min read
Day 18/100 100 Days of Code
C

AKA Chris, is a software developer from Athens, Greece. He started programming with basic when he was very young. He lost interest in programming during school years but after an unsuccessful career in audio, he decided focus on what he really loves which is technology.

He loves working with older languages like C and wants to start programming electronics and microcontrollers because he wants to get into embedded systems programming.

Concurrency is a feature that is not aimed at beginner developers. It is important to understand it properly as it can be very confusing and cause problems that might be difficult to understand.

I hit a brick wall during the development of Info Hunter due to my limited understanding of concurrency.

So, I spent the session watching a tutorial about mutex which is an object that can be used to control the flow of the multithreaded operation in critical sections.

A thread "locks" or "unlocks" sections that are critical to an operation. This means that data that is shared between threads won't be used by all the threads at the same time. Each thread will wait until the previous thread completes its operations.

Special thanks to CppNuts for the great tutorials on multithreading.

100 Days of Code

Part 18 of 50

100 days of code is a good initiative to go into hard mode and spend more time in programming. These 100 days will be focused on completing projects and research.

Up next

Day 19/100 100 Days of Code

Learning