src/Pure/ML-Systems/polyml-5.5.2.ML
author ballarin
Sat, 21 Jun 2014 10:41:02 +0200
changeset 57282 7da3e398804c
parent 54726 5285805af26c
permissions -rw-r--r--
Two basic lemmas on bij_betw.

(*  Title:      Pure/ML-Systems/polyml-5.5.2.ML
    Author:     Makarius

Compatibility wrapper for Poly/ML 5.5.2.
*)

structure Thread =
struct
  open Thread;

  structure Thread =
  struct
    open Thread;

    fun numProcessors () =
      (case Thread.numPhysicalProcessors () of
        SOME n => n
      | NONE => Thread.numProcessors ());
  end;
end;

use "ML-Systems/polyml.ML";