In reply to dave_59:
Hi Dave,
This is not an assignment but an interview question and I don’t need the exact monitor code but just the approach for the run phase task for monitor. I had come up with a solution that would look similar to a driver, because as per my understanding, in monitor, we just monitor the transactions, like whatever is coming from the interface, we store it in a new transaction variable and then call the write(txn) api.
but in this question, I was asked to change the signals in monitor. So, this is where i got confused.
Any insights on this?