I think 1 == 1 will be evaluated on each loop. I really liked the old way: while( true ) { ... } It was nice and easy to read.
Thanks, Ovidiu
On Thu, Apr 1, 2010 at 10:27 PM, Alex Balashov abalashov@evaristesys.com wrote:
On 04/01/2010 10:23 PM, Ovidiu Sas wrote:
How can I define a simple infinite loop without getting a warning in the logs.
How does
while(1 == 1)
stack up?
-- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev