src/Pure/ML-Systems/thread_physical_processors.ML
author wenzelm
Wed, 11 Dec 2013 18:02:22 +0100
changeset 54717 42c209a6c225
permissions -rw-r--r--
support for polml-5.5.2; support Thread.numPhysicalProcessors of polyml-5.5.2 (according to SVN 1890); clarified max_threads: store plain value internally, reproduce result only on startup, and thus avoid potential system overhead;

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

Emulation of structure Thread in Poly/ML 5.5.2 (SVN 1890).
*)

structure Thread =
struct
  open Thread;

  fun numPhysicalProcessors () : int option = NONE;
end;