Lines Matching full:fence
297 class Fence : public base::RefCounted<Fence> {
299 Fence() {}
303 friend class base::RefCounted<Fence>;
304 virtual ~Fence() {}
307 DISALLOW_COPY_AND_ASSIGN(Fence);
348 // Sets the current read fence. If a resource is locked for read
350 // until this fence has passed.
351 void SetReadLockFence(scoped_refptr<Fence> fence) {
352 current_read_lock_fence_ = fence;
354 Fence* GetReadLockFence() { return current_read_lock_fence_.get(); }
402 scoped_refptr<Fence> read_lock_fence;
502 scoped_refptr<Fence> current_read_lock_fence_;