Question: 1. Create a new task called DealerCheat that resides in carddeck.c and has a priority higher than DealCards. In this task, pull a card from
1. Create a new task called DealerCheat that resides in carddeck.c and has a priority higher than DealCards. In this task, pull a card from the deck into a static variable that the dealer can use later. It also should lock the CARDDECK resource when it is adjusting the deck. Activate this task after the dealer has dealt the first card in the DealCards task. Run the program and observe the action of the tasks.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
