You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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 text was updated successfully, but these errors were encountered:
Implement timeout mechanism using SIGALRM
Addresses #3:
There is a dirty busy-waiting loop, but it is simpler than the threaded approach that I've come up with. The busy-wait may be eliminated later if possible.
Also addresses #4, possible premature return of recv().
#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 text was updated successfully, but these errors were encountered: