Parma Polyhedra Library requirements
Internal threshold-ordered pending event queues
  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

1. Threshold-ordered pending events and caller prerequisites PPL-SPEC-000801

Pending_List<Traits> shall own a sequence of active event nodes and a separate pool of reusable inactive nodes. Each active event shall contain an owned threshold value and borrowed handler/expired-flag bindings. Traits::less_than shall define a stable strict weak order on admitted threshold values. Threshold copy construction, assignment, destruction and that comparison shall not throw; selected threshold operations shall satisfy their own validity and resource prerequisites.

Clients shall synchronize access and retain the noncopying owning-list conditions of 🔗 5. Empty owning-list construction and remaining-node destruction. Active node positions shall belong to one list and remain valid only until their event is erased or their owner destroyed. Handlers and flags shall remain alive while their event is active or a borrowed reference is accessed. Inactive pooled nodes may retain old pointer values without accessing those external objects; their old external bindings need not outlive the pool. The queue shall not require global PPL initialization beyond the selected threshold's own needs. Any enclosing watcher interface shall retain its additional thread/signal restrictions.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000802
2. Pending-element construction and embedded-link lifetime PPL-SPEC-000802

Pending_Element construction shall copy the supplied threshold and bind the supplied handler and flag by reference identity. It shall not invoke the handler, modify the flag or retain a reference to the caller's threshold object. The selected threshold shall satisfy 🔗 1. Threshold-ordered pending events and caller prerequisites.

The newly constructed element's inherited links shall require binding into a valid ring before traversal, unlinking or destruction, retaining 🔗 2. Embedded-node construction and link initialization. Queue insertion shall establish that binding before exposing the element. A directly constructed element shall be attached by its caller before destruction; completed linked-element destruction shall retain the nonthrowing threshold lifetime and embedded- node contract.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000803
3. Element attribute reassignment without relinking PPL-SPEC-000803

assign shall replace the owned threshold value and borrowed handler/ flag bindings with the supplied attributes, preserving the element's existing link position. It shall not allocate an event node, invoke a handler or reset either flag. The supplied threshold may alias this element's current threshold; self-value assignment shall retain its meaning. Callers reassigning active elements shall preserve the pending list's ordering before using its ordinary operations. Pooled elements shall be rebound before exposure as new active events.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000804
4. Threshold, handler and expired-flag reference access PPL-SPEC-000804

deadline() shall return a const reference to the owned threshold; handler() shall return a const reference to the bound handler; expired_flag() shall return a mutable reference to the bound Boolean even through a const element wrapper. Access shall preserve all attributes and links. A reference to the threshold shall require the node and threshold object to remain alive, and shall observe any later admitted reassignment. Handler/flag references shall retain the external object's lifetime independently of the element wrapper. Invoking or modifying a returned external object shall be a caller action, not an automatic queue notification.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000805
5. Pending-element attribute checker scope PPL-SPEC-000805

For an admitted completed element, OK() shall return true without modifying attributes or links. It shall not validate threshold positivity, current-time expiry, external handler policy or list sorting. Its use shall not dereference a handler or flag merely to validate their stored pointer values. This element checker shall not establish the inherited ring's structural validity or make a stale active-event position usable.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000806
6. Queue construction and complete active/free ownership cleanup PPL-SPEC-000806

Construction shall create a valid empty active sequence and empty free pool. Destruction shall release every owned active and pooled node and its threshold exactly once. It shall not delete borrowed handlers or flags, invoke notification actions or change external expired flags. Independent queue owners shall have independent nodes and lifetimes. No supported owner copy/assignment shall be required under 🔗 1. Threshold-ordered pending events and caller prerequisites.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000807
7. Sorted insertion and equivalent-deadline multiplicity PPL-SPEC-000807

Successful insertion shall add exactly one active event with the supplied attributes and return its live position. Traversing the active sequence shall produce nondecreasing threshold order under the supplied strict weak comparison. Every previously active event shall remain with its prior threshold, handler, flag and node identity. Distinct events with equivalent thresholds shall all remain present; their relative order shall not be required by this interface. Insertion shall not act on handlers or modify external flags. Threshold values need not be positive or related to a clock merely to use this internal queue.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000808
8. Insertion with borrowed active attributes PPL-SPEC-000808

An insertion's threshold argument may borrow the threshold of an already active element; insertion shall preserve that source and copy its value into the new event. Handlers and flags may be shared among several active events. Their reference identities and preexisting flag values shall remain unchanged by insertion. These aliases shall not permit reuse of erased positions as active-event sources or destruction of external objects still referenced by active events.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

9. Active-event erasure and successor preservation PPL-SPEC-000809

Erasure shall require a live active position belonging to this queue. It shall remove exactly that event from the active sequence, preserve every other event and its ordering/identity, and return the removed event's next active position or this queue's end. It shall retain the removed node in the reusable pool without destroying its threshold, notifying its handler or changing its flag. The removed position shall cease to denote an active event even while the underlying node remains allocated. Erasure shall not allocate.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000810
10. Recycled-node insertion and allocation-free reuse PPL-SPEC-000810

When inactive nodes are available, insertion shall reuse one of them rather than allocate a new node. It shall replace every event attribute before linking the reused node into the sorted active sequence. The old external handler/flag bindings shall not be accessed during reuse. No particular selection order among available free nodes shall be required. Without an inactive node, insertion shall allocate a new properly aligned event node. Threshold operation costs shall remain those of the admitted nonthrowing threshold type.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000811
11. Active-event iterator ranges and borrowed traversal PPL-SPEC-000811

iterator and const_iterator shall retain the corresponding embedded-list iterator types and 🔗 7. Embedded-list iterator borrowing and valid linked positions, 🔗 8. Embedded-list position binding and lifetime, 🔗 9. Embedded-list typed element access, 🔗 10. Embedded-list bidirectional traversal and 🔗 11. Embedded-list position equality. The public nonconst begin/end members shall bound exactly the active sequence; free nodes shall never appear in that range. End shall be comparable and support retreat when nonempty, but not dereference. Positions shall preserve node identity under other event insertion/erasure, subject to 🔗 1. Threshold-ordered pending events and caller prerequisites. Clients shall not change embedded links or break active threshold ordering through the borrowed element access.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000812
12. Active emptiness independent of retained pool storage PPL-SPEC-000812

empty() shall return true exactly when no active events remain. An empty active sequence shall have equal begin/end positions even if inactive node storage is retained. Emptiness shall not imply that all allocated event nodes have been released. The query shall not notify handlers, modify flags or change the active/free node ownership.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000813
13. Queue node checks and threshold-order validation PPL-SPEC-000813

For safely inspectable active/free rings, OK() shall require both embedded lists' element checks and nondecreasing active threshold order. An empty active list shall pass when its active/free node checks pass. Free nodes shall not require threshold sorting. Checking shall not invoke handlers, dereference expired external bindings, modify flags or change ownership. Corrupted embedded links shall remain outside the checker domain; this operation shall not provide memory-safe diagnosis of arbitrary ownership corruption. Clients may check and repair a threshold-order violation before resuming ordinary queue operations.

  • 3. Failure and resource safety PPL-LLR-000133

    When a supported recoverable failure is reported through a documented error channel, the library shall release temporary resources it owns and leave surviving objects and outputs in the states permitted by the operation's documented failure guarantee. Failure during construction shall release resources acquired for the object whose construction failed. These obligations shall apply whether failure is reported by an exception, error status or host-language error mechanism.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • PPL-LLR-000134
    4. Cooperative computation abandonment PPL-LLR-000134

    At documented native abandonment checkpoints, the runtime shall check pending computational-weight thresholds and caller-owned abandonment requests. A pending caller-owned request shall invoke its supplied exception mechanism without clearing that request; the caller shall remain responsible for clearing it. Binding-owned timeout notification and cleanup shall follow the binding's declared interruption protocol. Cancellation latency shall depend on checkpoint placement and computation progress rather than a promised elapsed-time bound.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 5. Watchdog scheduling and cancellation scope PPL-LLR-000135

    Where watchdog support is available, the runtime shall accept supported positive timer durations, schedule notifications, and allow cancellation of pending notifications under the documented timer, signal, and thread-ownership restrictions. Failed construction shall not leave a pending event or invalidate existing watchdogs. Unsupported watchdog facilities and invalid durations shall be reported through the documented failure mechanism. Watchdog use shall not imply a hard elapsed-time deadline or a guarantee beyond the documented timer-state failure behavior.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

  • 6. Thread entry and shared-facility use PPL-LLR-000438

    For each supported thread configuration and language interface, the runtime shall provide the required library and thread initialization and finalization protocol. Correctly initialized threads shall use the thread-specific numerical state required by that configuration. Permitted concurrent use, object-sharing conditions and caller synchronization requirements for shared facilities shall be explicit, including restrictions on computational-weight monitoring and watchdog signal ownership.

    • PPL-HLR-000008
      8. Controlled runtime operation and resource use PPL-HLR-000008

      PPL shall define its initialization, cleanup, runtime configuration and failure behavior, and shall provide the supported mechanisms for controlling long-running computations, so that clients can use the library without violating its documented object and resource-lifetime rules.

PPL-SPEC-000814
14. Insertion-allocation failure preservation and retry PPL-SPEC-000814

With the nonthrowing threshold and comparison prerequisites of 🔗 1. Threshold-ordered pending events and caller prerequisites, a reported event-node allocation failure shall leave the active sequence, free pool, all existing event attributes, handler bindings and flag values unchanged. No incomplete event node shall remain owned or linked. The same queue shall permit a later successful insertion and ordinary erasure. Erasure and insertion using an available pooled node shall not require an event-node allocation. These guarantees shall not promise recovery from violated threshold or linking preconditions.