tansly/ceng435

Pick a timer method

Closed this issue · 2 comments

#1 and #2 implement the timeout mechanism in the broker in two separate ways. #1 uses SIGALRM, #2 uses a timer thread. Need to evaluate the pros and cons and pick one.

The signal mechanism has a dirty busy wait loop, but the thread mechanism is a giant bowl of 🍝.

I'm going with the simple one, the signal mechanism.