src/Pure/ML-Systems/polyml-5.2.1.ML
changeset 39616 8052101883c3
parent 38635 f76ad0771f67
child 43948 8f5add916a99
equal deleted inserted replaced
39615:b926f8ec9cac 39616:8052101883c3
     1 (*  Title:      Pure/ML-Systems/polyml-5.2.1.ML
     1 (*  Title:      Pure/ML-Systems/polyml-5.2.1.ML
     2 
     2 
     3 Compatibility wrapper for Poly/ML 5.2.1.
     3 Compatibility wrapper for Poly/ML 5.2.1.
     4 *)
     4 *)
     5 
       
     6 use "ML-Systems/unsynchronized.ML";
       
     7 
     5 
     8 open Thread;
     6 open Thread;
     9 
     7 
    10 structure ML_Name_Space =
     8 structure ML_Name_Space =
    11 struct
     9 struct
    16 
    14 
    17 fun reraise exn = raise exn;
    15 fun reraise exn = raise exn;
    18 
    16 
    19 use "ML-Systems/polyml_common.ML";
    17 use "ML-Systems/polyml_common.ML";
    20 use "ML-Systems/multithreading_polyml.ML";
    18 use "ML-Systems/multithreading_polyml.ML";
       
    19 use "ML-Systems/unsynchronized.ML";
       
    20 
       
    21 val _ = PolyML.Compiler.forgetValue "ref";
       
    22 val _ = PolyML.Compiler.forgetType "ref";
    21 
    23 
    22 val pointer_eq = PolyML.pointerEq;
    24 val pointer_eq = PolyML.pointerEq;
    23 
    25 
    24 fun share_common_data () = PolyML.shareCommonData PolyML.rootFunction;
    26 fun share_common_data () = PolyML.shareCommonData PolyML.rootFunction;
    25 
    27