Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Our test suite for locks and condition variables doesn look exactly like the sample output shown as part of the assignment. Is that okay?

0
Posted

Our test suite for locks and condition variables doesn look exactly like the sample output shown as part of the assignment. Is that okay?

0

Yes. You can decide what you want the result of an illegal operation should be (e.g., a process trying to release a lock that it doesn’t hold). If you decide that this should just be ignored, your output will probably look similar to the sample output in the assignment. If you decide that the errant process should be terminated, your output will look different. And, whatever you do, make sure to document how you decided to design your code and describe it in the writeup so that your grader will understand it. However, note that in no case should a process actually be allowed to release a lock that it isn’t holding! • Exactly what tests are required for the test suite? How many tests should we include? To start with, your test suite should include, but NOT be limited to, the test described in Part 2 of the assignment — i.e. making sure that processes can not release locks that they do not hold. But you’ll have to write other tests, too. Your solution to Part 2 should consist of a set o

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123