Skip to content

lakshay47-lab/multithreaded-task-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🧵 Multithreaded Task Timer – C++

A simple console-based C++ application that lets you run multiple countdown timers in parallel using std::thread.

🎯 Features

  • User-defined task names and durations
  • Each task runs in its own thread
  • Countdown shown for each task
  • Clean terminal output

Concepts Used

  • C++11 Threads (std::thread)
  • Delays using std::this_thread::sleep_for
  • Time with std::chrono
  • Basic I/O and vector management

How to Run

  1. Use Replit
  2. Compile: g++ main.cpp -o timer -pthread
  3. Run: ./timer

📸 Example

Output will display countdowns for both tasks.screenshot

code jpg

About

A multithreaded task timer in C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages