Chatbots

  • Tech Stack: C++, POSIX, Multithreading, Semaphore Synchronization
  • More Info:: Here

✰ The "bots" create multiple threads using POSIX threads (pthreads) and handles synchronization between them using semaphores which prevents data corruption. Each thread writes messages to a file "QUOTE.txt". Depending on their thread ID, threads write different quotes and sleep for different intervals

✰ Gave me valuable knowledge in system-level programming, parallel computing, and software that requires efficient use of hardware resources.