Re: Help needed in using 'on_dsm_detach' callback

2018-01-31 Thread Gaddam Sai Ram
Hello Thomas, Thank you for your suggestions, needless to say it helped a lot. As you suggested, I have created an initial dsm segment and used it create dsa area as well as to detach dsm. Thus, it helped me in using 'on_dsm_detach' callback. I have tested the code and it work

Re: Help needed in using 'on_dsm_detach' callback

2018-01-24 Thread Thomas Munro
On Wed, Jan 24, 2018 at 8:37 PM, Gaddam Sai Ram wrote: > Found that there is a callback for dsa detach but that function requires > segment pointer as an argument, Should be as below: > > on_dsm_detach(PROC_DSA_AREA->segment_maps[0].segment, detach_func); > ... > But i couldn't access that segment