> set-info priority ... } used for
> set-info sub-priority ... } queue adjustment
> set-info wait-start-adjust ... }
+ > set-info infra-priority ... }
> set-info feature-noalloc 1
The client understands `!OK think noalloc'.
set priority [chan-get-info $chan {int($info(priority))} 0]
set subpriority [chan-get-info $chan {int($info(sub-priority))} 0]
+ set infrapriority [chan-get-info $chan {int($info(infra-priority))} 0]
set waitstart "$info(wait-start use)"
incr waitstart [chan-get-info $chan {int($info(wait-start-adjust))} 0]
#puts stderr "priority $chan $priority $emsg"
- return [format "%011d.%011d.%011d" \
+ return [format "%011d.%011d.%011d.%011d" \
[expr {$priority+1000000000}] \
[expr {$subpriority+1000000000}] \
- $waitstart]
+ $waitstart \
+ [expr {$infrapriority+1000000000}]]
}
proc cmd/prod {chan desc} {