Skip to content

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

Notifications You must be signed in to change notification settings

randruc/CyclicSynchronization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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.

The 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