Expose thread-safe array methods from PdBase

Just some straightforward pass-through methods with a lock.