Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/COBOL/verschiedene-Autoren/Brauer/   (Columbo Version 0.7©)  Datei vom 7.3.2026 mit Größe 879 B image not shown  

Quelle  brau-p214.cob   Sprache: Cobol

 
       Identification Division.
       Program-Id. Deadlock.
      * from Wilfried Brauer
      * about Rabin-Scott automata
      * Automatentheorie
      * Teubner 1984
       Data Division.
       Working-Storage Section.
         77 z           pic S9(4)V9(4).
         77 y1          pic S9(4)V9(4).
         77 y2          pic S9(4)V9(4).
       Linkage Section.
         77 x           pic S9(4)V9(4).
       Procedure Division using x returning z.
      * simultaneous moves
        move x to y1
        move x to y2
      M1.
        if function p(y1) goto M2
      M3.
        if function q(y2) goto M4
        move y1 to z
        stop run
      M2.
        move function f(y1) to y1
        goto M1
      M4.
      * simultaneous moves
        move function g(y1) to y1
        move function f(y2) to y2
        goto M3
       End-Program Deadlock.

Messung V0.5
C=82 H=82 G=81

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.