[Ace-users] [ace-users] ACE: ACE_Select_Reactor_T crash on memory shortage

Andriy Gapon avg at icyb.net.ua
Fri Dec 14 05:54:51 CST 2007


on 14/12/2007 13:50 Johnny Willemsen said the following:
> Hi,
> 
> I fixed the not needed check for 0, that will into repository after the
> release of x.6.2. Do note that the autoconf support is experimental. Can you
> provide a patch for solving the other issue?

Not a patch, but maybe something like:
template <class ACE_SELECT_REACTOR_TOKEN> int
ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::notify(...
{
...
	if (this->notify_handler_ == 0)
		return -1;
...
}

-- 
Andriy Gapon



More information about the Ace-users mailing list