Convenience wrapper around resource$attempt_block(). Reads i and
curtime from the calling environment automatically.
Arguments
- resource
A
resource_discreteobject.- amount
Integer. Number of resource units to seize (default
1L).- priority
Integer. Queue priority for the patient (default
1L). Lower values are higher priority.- ...
Not used. Passing
seize_all()-specific arguments here (e.g.,accum_queue,force_unblock,policy) will raise an error.
