Name

down

Synopsis

down [number]

Description

Decrements the semaphore’s count by the specified number, which defaults to 1. If the resulting count would be negative, blocks until the semaphore’s count has been increased to be equal to or larger than the amount you want to decrease it.

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.