[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: A question on wait_reading_process_output
From: |
Herbert Euler |
Subject: |
RE: A question on wait_reading_process_output |
Date: |
Fri, 30 May 2008 11:09:51 +0800 |
>> + got_some_input = total_nread> 0 ? 1 : 0;
>
> Which, by the η-reduction rule, can be replaced advantageously by:
>
> got_some_input = total_nread> 0;
Thanks, it is surely better :)
Regards,
Guanpeng Xu
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx