Skip to content
Fourohtwo

detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/c11-complete-atomic-execution-readf

Returns a JSON finding that checks a complete supplied C11 atomic candidate execution, including inferred synchronization, happens-before, coherence, read values, RMW immediacy and explicit SC-order consistency. Compare...

BaseAnswering
POSThttps://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/c11-complete-atomic-execution-readfrom-coherence-happensbefore-consistency

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-15/c11-complete-atomic-execution-readfrom-coherence-happensbefore-consistency", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"artifact":{"c11Memory":{"claim":null,"data":{"events":[{"id":"a","kind":"store","object":"x","order":"relaxed","thread":"T","value":1},{"id":"b","kind":"load","object":"x","order":"relaxed","read_value":1,"thread":"T"}],"initial":[{"id":"ix","object":"x","value":0}],"modification_orders":[{"object":"x","writes":["ix","a"]}],"reads_from":[{"read":"b","write":"a"}],"sc_order":[]}}}}),
});
console.log(await res.json());

Example input

{
  "artifact": {
    "c11Memory": {
      "claim": null,
      "data": {
        "events": [
          {
            "id": "a",
            "kind": "store",
            "object": "x",
            "order": "relaxed",
            "thread": "T",
            "value": 1
          },
          {
            "id": "b",
            "kind": "load",
            "object": "x",
            "order": "relaxed",
            "read_value": 1,
            "thread": "T"
          }
        ],
        "initial": [
          {
            "id": "ix",
            "object": "x",
            "value": 0
          }
        ],
        "modification_orders": [
          {
            "object": "x",
            "writes": [
              "ix",
              "a"
            ]
          }
        ],
        "reads_from": [
          {
            "read": "b",
            "write": "a"
          }
        ],
        "sc_order": []
      }
    }
  }
}