Skip to content

KevinWMatthews/cxx-concurrency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concurrency in C

Introduction to C standard library features for multi-threading. Supporting content for this series of blog posts.

Background

Explore concurrency concepts and semantics using the C standard library and show how the Thread Sanitizer can be used to debug race conditions at runtime.

See the documentation for details.

Prerequesites

  • C compiler (C 11 or newer)
  • CMake (v3.8 or newer)
  • POSIX threading library

Getting Started

The project can be compiled using CMake and a C compiler:

$ cmake .
$ make

Executables are located in the bin/ directory.

$ ./bin/<executable>

An out-of-tree build is typically preferable to compiling in the source directory.

See the setup documentation for details.

Releases

No releases published

Packages

No packages published