src/Pure/ML-Systems/polyml-5.5.3.ML
author wenzelm
Thu, 30 Oct 2014 22:45:19 +0100
changeset 58839 ccda99401bc8
parent 58470 890d8286fd4e
permissions -rw-r--r--
eliminated aliases;

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