src/Pure/ML-Systems/polyml-5.5.3.ML
author blanchet
Fri, 02 Oct 2015 21:06:32 +0200
changeset 61310 9a50ea544fd3
parent 58470 890d8286fd4e
permissions -rw-r--r--
better compliance with TPTP SZS standard

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

Compatibility wrapper for Poly/ML 5.5.3.
*)

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";