On 11/6/17 8:41 PM, William Allen Simpson wrote:
On 11/6/17 8:38 AM, Dominique Martinet wrote:
One way that'd work for example would be have ganesha provide a pointer
to SetNameFunction at init, it's a bit ugly though.
Actually, that's how ntirpc calls various alloc and warnx functions,
via a pointer struct. So I'll revert this code and add another
entry to that struct. Good idea. Ugly, but consistent.
Any other libraries that provide a thread could use the same struct
technique to instantiate a name.
Your idea seems to work, and I've posted the ntirpc side for DanG to
review. Should have the Ganesha side for review soon thereafter.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel