using lock_store for current_ptr_array