Lines Matching defs:Fence
266 class Fence : public base::RefCounted<Fence> {
268 Fence() {}
272 friend class base::RefCounted<Fence>;
273 virtual ~Fence() {}
276 DISALLOW_COPY_AND_ASSIGN(Fence);
313 // Sets the current read fence. If a resource is locked for read
315 // until this fence has passed.
316 void SetReadLockFence(scoped_refptr<Fence> fence) {
317 current_read_lock_fence_ = fence;
319 Fence* GetReadLockFence() { return current_read_lock_fence_.get(); }
365 scoped_refptr<Fence> read_lock_fence;
443 scoped_refptr<Fence> current_read_lock_fence_;