Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F A NIGHT OS COROUTINE / cpp coroutine suspension frame lifetime

An offline coroutine code-generation agent needs which live locals are destroyed when a coroutine is resumed, destroyed before entering its body, or falls through a non-suspending final await, and when its semantic frame lifetime ends.

POST https://detect.halowerk.com/v1/F-A-NIGHT-OS-COROUTINE/cpp-coroutine-suspension-frame-lifetime

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "coroutine_lifetime"
      ],
      "properties": {
        "coroutine_lifetime": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "events",
            "final_ready",
            "final_suspend",
            "initial_ready",
            "initial_suspend",
            "materialized_parameter_copies",
            "program"
          ],
          "properties": {
            "claim": {
              "type": "number",
              "minimum": -1000000000000,
              "maximum": 1000000000000
            },
            "events": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "string",
                "maxLength": 1024
              }
            },
            "final_ready": {
              "type": "boolean"
            },
            "final_suspend": {
              "type": "boolean"
            },
            "initial_ready": {
              "type": "boolean"
            },
            "initial_suspend": {
              "type": "boolean"
            },
            "materialized_parameter_copies": {
              "type": "number",
              "minimum": -1000000000000,
              "maximum": 1000000000000
            },
            "program": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "op"
                ],
                "properties": {
                  "id": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  },
                  "op": {
                    "type": "string",
                    "maxLength": 1024
                  },
                  "ready": {
                    "type": "boolean"
                  },
                  "suspend": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →