mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eero Nevalainen <eero.nevalai...@indagon.com>
Subject Re: about the implementation of SimpleIoProcessorPool
Date Tue, 01 Dec 2009 10:46:37 GMT
Emmanuel Lecharny wrote:
>>> The test is just a safety belt. It does not harm... We should
>>> probably refactor this code to be a bit moe accurate though ...
>>
>> assert?
> 
> Yuck :/
> 
> So C-ished..
> 
> better have better code !

Wait... what?

I thought the whole point of assertions is to provide these "no harm
safety belt checks", with the side effect that they can be disabled if
there are concerns of efficiency.

-- 
Eero Nevalainen



Mime
View raw message