Develop a bank server application (bankServcr) that processes transactions from
ID: 3690836 • Letter: D
Question
Develop a bank server application (bankServcr) that processes transactions from clients. For extra credit, the server should handle multiple concurrent clients, and protect against race conditions using pthrcads mutex semaphores. Bank account information is represented with the following structure: #deineNUM_ACCTS 100 typedef struct { unsigned int balance; pthrcad_mutex_t mutex; } sBANK_ACCT_DATA; sBANK_ACCT_DATA acctData[NUM_ACCTS]; Place the definition of the bank protocol structure in a header file named firstinitiallastname_banking.h. Use a Makefile to build your program. You will rename your Makefile when you submit it. Submit the deliverables, indicated below, as a single zip file named firstinitiallastname_lab4.zip to the TA's email.Explanation / Answer
main.c
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.