Privacy and Security Notice

Archived Messages for CDEV_1997@cebaf.gov: Re: detaching RequestObjects

Re: detaching RequestObjects

Walt Akers (akers@CEBAF.GOV)
Wed, 02 Jul 1997 13:34:29 -0400 (EDT)

>
> MIME-version: 1.0
> Content-type: TEXT/PLAIN; CHARSET=US-ASCII
>
> Howdy all,
>
> It seems that if I detach() a ca service RequestObject before the
> underlying ca connection has been established, the callback data is
> deleted, but the pending callback is not cancelled, ensuing in an
> invalid write when it finally fires.
>
> My question, in light of this: is it harmful not to detach()
> RequestObjects --do they suck up lots of memory? Is there some way
> to know when it's safe to detach a RequestObject?
>
> Thanks,
>
> Chris

I never detach cdevRequestObjects...

Walt

--
=============================================================
Walt Akers Voice: (757)269-7669 E-Mail: akers@cebaf.gov
Thomas Jefferson National Accelerator Facility
12000 Jefferson Avenue, MS 16A
Newport News, Va 23606
=============================================================