src/Pure/System/invoke_scala.ML
changeset 52537 4b5941730bd8
parent 52111 1fd184eaa310
child 56333 38f1422ef473
equal deleted inserted replaced
52536:3a35ce87a55c 52537:4b5941730bd8
    17 val _ = Session.protocol_handler "isabelle.Invoke_Scala";
    17 val _ = Session.protocol_handler "isabelle.Invoke_Scala";
    18 
    18 
    19 
    19 
    20 (* pending promises *)
    20 (* pending promises *)
    21 
    21 
    22 val new_id = string_of_int o Synchronized.counter ();
    22 val new_id = string_of_int o Counter.make ();
    23 
    23 
    24 val promises =
    24 val promises =
    25   Synchronized.var "Invoke_Scala.promises" (Symtab.empty: string future Symtab.table);
    25   Synchronized.var "Invoke_Scala.promises" (Symtab.empty: string future Symtab.table);
    26 
    26 
    27 
    27