You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project is a network model of priority based packet routing implemented using the priority queue using max heap data structure. The project mimics packet routing, by receiving network packets (file handling concept) and re-transmitting the packets based on network priority.
A multi-threaded program that calculates the convergence of a function based on user input. It uses pthreads to evaluate the function and displays the summation result.
This project shows how deadlock is produced and multiple possible solutions to avoid deadlock. STEPS TO AVOID DEADLOCK: i) Avoid locking multiple mutexes but only 1 mutex if possible ii) After locking mutex, avoid calling user provided funtion (that can access/modify the resource without being locked) iii) If you require to lock more than 1 mute…
This repository serves as a comprehensive collection of workshops completed during my course in OOP345. Each workshop showcases my knowledge and problem-solving skills on various C++ topics.
MonteCarloPi is a library to benchmark Arduinos by estimating the value of pi. It uses the Monte Carlo method to estimate pi, and it works with both single core Arduino like the UNO as well as multi-core ones like ESP32.
The BlockQueue pattern is a thread-safe queue implementation that allows multiple threads to push and pop elements concurrently. It provides synchronized access to the underlying queue, ensuring that no data race occurs between threads.