Hi,
Register a function with the cleanup of the conf pool. The conf pool >> is destroyed prior to a restart/kill/reload. >> >> You have an example in the code I've sent you. >> >> S >> >> >> > Perfect answer! Unfortunately, the post_config is called twice on a > restart, and with different memory pointers, so shared memory handles, > mutexes, etc, those will all suddenly disappear. You'd be forced to > initialize your post_config again or potentially segmentation fault the > server. So, that is a good excuse to implement some extra code to handle > restarting a thread anyway. > > Thanks, one less choice to make :) Greets, Andrej