LJ::clear_caches

LJ::clear_caches — This function is called from a HUP signal handler and is intentionally very very simple (1 line) so we don't core dump on a system without reentrant libraries. It just sets a flag to clear the caches at the beginning of the next request (see LJ::handle_caches). There should be no need to ever call this function directly.

Use

LJ::clear_caches(void);

Source:

cgi-bin/ljlib.pl