Is there a way to get a PID of the current process? I checked the docs, however I didn't find a function that fit my needs (hehe ... maybe I missed something ;) ).
You can call getpid(). I believe that's fairly portable. You can do:
apr_os_proc_t pid = getpid();
If getpid() isn't really portable, we could add wrappers. Patches welcomed. -- justin
