Name

reservation_object_reserve_shared — Reserve space to add shared fences to a reservation_object.

Synopsis

int reservation_object_reserve_shared (struct reservation_object * obj,
 unsigned int num_fences);
 

Arguments

obj

reservation object

num_fences

number of fences we want to add

Description

Should be called before reservation_object_add_shared_fence. Must be called with obj->lock held.

RETURNS Zero for success, or -errno