sharedRecordsUnderLock

private fnSharedRecord!Handler[] * sharedRecordsUnderLock(Handler)( shared SharedState!Handler state) @trusted

Returns the record array as unshared. Caller MUST hold state.mutex: the lock provides the happens-before edge that makes the cast sound.