The entry stops_refused
A row of the test of the restarts of a start policy .
What it shows. A row that stops itself with the stop outcome Refused does not start again, whatever its count of restarts: the same input would give the same refusal.
Start: the rescue list of the image of the test of the rescue names it, with a count of restarts. Only that image holds it. It needs no grant.
What a reader sees. No window: the line stops_refused: it refuses its context on purpose, once, and the lines of the root service and of the start policy about its stop.
stops_refused module with an entry
- Hash
f447055708dd5133abf9307f7698d26b23b449257ff217e1410a8febeab6dcf9- Size
32768 bytes- Exports
0- Imports
0- Imported by
0- License
- MIT
A row of the test of the restarts of a start policy
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/tests/stops_refused |
| Boot image | no: not in the boot image |
| Build settings | none: the defaults of the source |
| Imports | none |
| Imported by | none |
Neighbours
It imports no module, and no module imports it. The module graph shows it with the other modules that have no edge.
Exports
| Export | What it does |
|---|---|
entry() |
entry
entry()
- Form
- The entry of the module: one parameter, an address, fixed by the contract.
src/modules/tests/stops_refused/main.odin:20
Read from the source of the module, as the build reads it to describe the exports (tools/modustool/build/describe.odin).
What the root service gives it
| What | Value | As the root service says |
|---|---|---|
| Grants | none | The two rows of the test of the restarts of a start policy, which only the image of the test of the rescue holds: each stops itself at once, and needs no grant. |
| Other terms of its start grant set | none | |
| Budget that it asks for |
| No MODULE_BUDGET in its source: it asks for the least budget. |
The start grant set is read from start_grant_sets in src/modules/system/root/start_grant_sets.odin. The stated budget is read from the constant MODULE_BUDGET of the source of the module; the build adds the counted parts and writes the sum in the module (tools/modustool/build/budget_count.odin); the root service accepts it up to the largest budget of a process, and adds the limits of processor time and of log records (src/modules/system/root/budgets.odin).
