Skip to content

Latest commit

 

History

History
10 lines (5 loc) · 367 Bytes

File metadata and controls

10 lines (5 loc) · 367 Bytes

Multi Threaded Proxy Server with and without Cache

Multi-threading
  • Used Semaphore instead of Condition Variables and pthread_join() and pthread_exit() function.
  • pthread_join() requires us to pass the thread id of the the thread to wait for.
  • Semaphore’s sem_wait() and sem_post() doesn’t need any parameter. So it is a better option.