Skip to content

randruc/CyclicSynchronization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

This is a small job interview question:

Define a thread A that only prints "A" characters on the console.
Define a thread B that only prints "B" characters on the console.
Synchronize the threads such that the console will show "ABABABABAB...".

This repository hosts variations on this problem.

This source code of this repository is under public domain.

About

A collection of small programs based on a job interview question about synchronization.

Topics

Resources

Stars

Watchers

Forks