Class MarkConcurrentEntryPoint

java.lang.Object
org.ek9lang.compiler.support.MarkConcurrentEntryPoint
All Implemented Interfaces:
Consumer<ISymbol>

public final class MarkConcurrentEntryPoint extends Object implements Consumer<ISymbol>
THE mark of a CONCURRENT ENTRY POINT - a function or method whose body may run on another thread (a service operation, a handler given to a thread-spawning call such as TCP.accept, an element function of an async stream stage). The data-race check (E08251) walks exactly the marked bodies and the ones reachable from them, so the roots are the model: a root nobody marks is a race the compiler silently misses.

Every writer holds one of these and every reader an IsConcurrentEntryPoint, so a grep for the two classes finds every root (F22, 2026-10-20: the squirrel was written raw in five places, one of them fully qualified inline and invisible to a grep for the import).

  • Constructor Details

    • MarkConcurrentEntryPoint

      public MarkConcurrentEntryPoint()
  • Method Details

    • accept

      public void accept(ISymbol symbol)
      Mark the symbol as a concurrent entry point.
      Specified by:
      accept in interface Consumer<ISymbol>