src/Pure/RAW/polyml-5.6.ML
author wenzelm
Sat, 26 Dec 2015 15:03:41 +0100
changeset 61931 ed47044ee6a6
parent 61925 ab52f183f020
permissions -rw-r--r--
more proofs, more text;

(*  Title:      Pure/RAW/polyml-5.6.ML
    Author:     Makarius

Compatibility wrapper for Poly/ML 5.6.
*)

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 "RAW/polyml.ML";