hello developers,

I'm writing my FSAL which uses IPC to communicate with another process which is 
providing the storage. This works well for me. I am currently using one IPC 
"channel" for each NFS-Ganesha worker thread. With a thread local variable 
these 
channels are created on demand. However I currently can not close these 
channels, as my FSAL code doesn't know when a worker thread is stopped.

Can I add a hook mechanism to the NFS-Ganesha thread maintaining code? This 
would allow a FSAL (or other code) to register a callback function that will be 
called, just prior to the worker thread exit. Which functions would be best 
suited to call those hooks? Or does it already exist, and I didn't find it?

-- 
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org

------------------------------------------------------------------------------
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to