Re: Empty events lists

From: Puneet Goel <p.goel@acm.org>
Date: Tue Nov 02 2010 - 04:10:35 PDT

> It is like when you define an operation on a list, you start with a
> seed.

Like in case of summation on a list you start with the result seeded
to 0. In case of multiplication (factorial) you start with the result
seeded to 1. In case of ORing a list, we start with the result seeded
to false. And in case of ANding a list, we start with the result
seeded to true.

Similarly is we think about sc_event_and_list, we would seed the
result with an immediate event. And for sc_event_or_list, we should
seed the result with an event that never gets notified.

Regards
- Puneet

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Nov 2 04:11:43 2010

This archive was generated by hypermail 2.1.8 : Tue Nov 02 2010 - 04:11:45 PDT