From 858914c746c33d84d71d9b6b51c33f05502bba47 Mon Sep 17 00:00:00 2001 From: ckrinitsin <101062646+ckrinitsin@users.noreply.github.com> Date: Wed, 19 Mar 2025 21:03:24 +0100 Subject: Update README.md --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4277594..61d664f 100644 --- a/README.md +++ b/README.md @@ -1 +1,22 @@ -# BT-Programming-Assignment \ No newline at end of file +# BT-Programming-Assignment + +## General instructions + +Languages: C/C++ +Initiate a github repository for each task +Provide the code accompanied with a Makefile to compile it as well as instructions on how to run your applications + +## Server/client application + +Task description: Implement the following two programs: + +Server: + Initializes a hash table of given size (provided via the command line) + Supports the insertion of items in the hash table + Hash table collisions are resolved by maintaining a linked list for each bucket/entry in the hash table + Supports concurrent operations (multithreading) to perform insert, get and delete operations on the hash table + Use readers-writer lock to ensure safety of concurrent operations; try to optimize the granularity + Communicates with the client program using shared memory buffer (POSIX shm) + +Client: + Enqueues requests/operations (insert, read, delete) to the server (that will operate on the the hash table) via a shared memory buffer (POSIX shm) -- cgit 1.4.1