Empty events lists

From: <john.aynsley@doulos.com>
Date: Mon Nov 01 2010 - 15:26:38 PDT

Philipp, All,

We have not explicitly discussed the semantics of empty event lists, e.g.

sc_event_or_list list;
assert( list.size() == 0 );
wait( list );

I propose that "If the event list object is empty, the effect shall be the same as omitting the event list argument from the call."

In other words, in the example above,

  wait( list );

shall be equivalent to

  wait();

and

  wait(10, SC_NS, list);

shall be equivalent to

  wait(10, SC_NS);

Is that acceptable?

John A

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Nov 1 15:27:00 2010

This archive was generated by hypermail 2.1.8 : Mon Nov 01 2010 - 15:27:05 PDT