client side of shared memory function calls