The entry audit_asker
The asker of the machine test of the audit of the collector . It starts collector with no list. The root service first refuses two lists of pairs, each with its status and its error record, and the budget of this process unchanged:
- a Wire of collector.forward with no source row (paired_row 0);
- a Start of generic_source whose list gives one source two pairs.
Neither starts generic_source, so the collector opens no space for them; the console counts the sources of the collector after this process. Last, generic_source with one list of three rows:
- 1. generic_source.left to collector.sources, with the terms Audit and Forward, at the pace of an audit;
- 2. collector.forward to this process, the pair of the row 1;
- 3. generic_source.right to collector.sources, with the terms Audit and Keeps: generic_source writes only when both of its outputs have a reader.
This process reads the pair: each probe of left once, in its order, then the clean end of the source, which the collector gives after the last record that its space kept. The console then reads the spaces of the collector, and checks their chains after a stop of the collector and after a restart of the machine.
Start: start("audit_asker") in the console of principal 0. What a reader sees: no window; one line "audit_asker: ..." when the pair gave each probe, or a line "audit_asker: WRONG: ...". It stops itself with Done, or Failed after a WRONG line.
audit_asker module with an entry
- Hash
c0804dea6e1b2921be4390555c36361fe39981717fc64be7e309778230ca07d9- Size
90313 bytes- Exports
0- Imports
0- Imported by
0- License
- MIT
The asker of the machine test of the audit of the collector
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/tests/audit_asker |
| 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/audit_asker/main.odin:279
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 | The asker of the test of the audit of the collector: Start, Wire and Connect are commands of the root ring. It starts the collector and wires the pair of an audit to itself, and asks the holder of Display for the dialog of a plan, which it must refuse: the boot image gives the description of its exports. | |
| Other terms of its start grant set | callable = {0 = "display"} | |
| 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).
