Ensure the cache rwlock can be used across processes

Signed-off-by: Scott Parlane <scott.parlane@alliedtelesis.co.nz>