bailjordan4254 bailjordan4254 10-07-2020 Computers and Technology contestada Design a two-thread consensus protocol for a Stack class that provides two methods: push(x) and pop(). push(x) pushes a value onto the top of the stack, and pop() removes and returns the most recently pushed value.