mit-krb5 thread support: thread-specific data

Ken Raeburn raeburn at MIT.EDU
Tue Apr 6 14:59:44 EDT 2004


On Tuesday, Apr 6, 2004, at 12:36 US/Eastern, Sam Hartman wrote:
> There is no exported finalization interface on OSX.  It has one for
> C++, which we cannot use, but that's all.

static void foo(void) __attribute__((destructor));

It works for a statically linked program.  It works in a .dylib library 
linked into the program.

I haven't tested with modules dynamically loaded during the running of 
the program, because I haven't found docs on how to do that yet.

Ken



More information about the krbdev mailing list