$ sem ->setall( values )
sem
values
Sets the values of all the semaphores in the set to those given by the values list. The number of values on the list must match the number of semaphores in the set.
Copyright © 2001 O'Reilly & Associates. All rights reserved.