예제 #1
0
void *Response::operator new (size_t _size)
{
	s_respSL.enter();
	void *ret = (void *) s_alloc.Alloc ();
	s_respSL.leave();

	return ret;
}
예제 #2
0
void Response::operator delete (void *_p)
{
	s_respSL.enter();
	s_alloc.Free ( (Response *) _p);
	s_respSL.leave();
}