RE: [sv-ec] Strict FIFO ordering of mailboxes try_put/try_get

From: Rich, Dave <Dave_Rich_at_.....>
Date: Wed Feb 14 2007 - 10:41:12 PST
Jonathon,

My point was that either you wait in line with a blocking put/get, or
you take your chances with a try. 

Your proposal could quickly get out of hand as people would then want to
know the number of people waiting in line. For arbitration between
multiple mailboxes, people want a can_put() function that returns true
if there's space, but doesn't do a put. People are free to build their
own mailboxes using semaphores and most do.

BTW, the same issue exists for get/try_get of a semaphore.


Dave



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Feb 14 10:41:36 2007

This archive was generated by hypermail 2.1.8 : Wed Feb 14 2007 - 10:41:51 PST