Class HandsValuesToRuntimeThreads

java.lang.Object
org.ek9lang.compiler.phase9.HandsValuesToRuntimeThreads
All Implemented Interfaces:
Function<IRInstr, List<String>>

public final class HandsValuesToRuntimeThreads extends Object implements Function<IRInstr, List<String>>
THE calls that hand values to runtime threads for the life of a server or of the program (EK9_NATIVE_CYCLE_COLLECTOR_DESIGN.md ยง13.11, S2): one handler serves every connection, the ready handler runs on its own thread while the caller serves, and the signal dispatcher keeps its handler until the program ends. Returns the variables such a call publishes - the handlers, and the server (its receiver) the handlers and the runtime's accept loop share - or none. Signals.register publishes its handler only (its last argument): the signal names are read, not kept. The front end's IsThreadSpawningCall names the same calls for E08251; the runtime's @Ek9Retains on each says the callee keeps what is published here. The two lists are held equal by PublishedCallsDriftTest. Stateless: hold one.
  • Constructor Details

    • HandsValuesToRuntimeThreads

      public HandsValuesToRuntimeThreads()
  • Method Details