| author | nipkow | 
| Wed, 11 Nov 2015 18:32:26 +0100 | |
| changeset 61640 | 44c9198f210c | 
| parent 58470 | 890d8286fd4e | 
| permissions | -rw-r--r-- | 
| 58470 
890d8286fd4e
pro-forma support for polyml-5.5.3 (presently SVN 1960);
 wenzelm parents: 
54726diff
changeset | 1 | (* Title: Pure/ML-Systems/polyml-5.5.3.ML | 
| 54726 | 2 | Author: Makarius | 
| 3 | ||
| 58470 
890d8286fd4e
pro-forma support for polyml-5.5.3 (presently SVN 1960);
 wenzelm parents: 
54726diff
changeset | 4 | Compatibility wrapper for Poly/ML 5.5.3. | 
| 54726 | 5 | *) | 
| 6 | ||
| 7 | structure Thread = | |
| 8 | struct | |
| 9 | open Thread; | |
| 10 | ||
| 11 | structure Thread = | |
| 12 | struct | |
| 13 | open Thread; | |
| 14 | ||
| 15 | fun numProcessors () = | |
| 16 | (case Thread.numPhysicalProcessors () of | |
| 17 | SOME n => n | |
| 18 | | NONE => Thread.numProcessors ()); | |
| 19 | end; | |
| 20 | end; | |
| 21 | ||
| 22 | use "ML-Systems/polyml.ML"; | |
| 23 |