serial: now based on specific version in structure Multithreading;
authorwenzelm
Tue, 18 Dec 2007 22:21:40 +0100
changeset 25702 a61554b1e7a9
parent 25701 73fbe868b4e7
child 25703 832073e402ae
serial: now based on specific version in structure Multithreading;
src/Pure/library.ML
--- a/src/Pure/library.ML	Tue Dec 18 22:18:31 2007 +0100
+++ b/src/Pure/library.ML	Tue Dec 18 22:21:40 2007 +0100
@@ -1081,9 +1081,7 @@
 val stamp: unit -> stamp = ref;
 
 type serial = int;
-local val count = ref (0: int)
-in fun serial () = NAMED_CRITICAL "serial" (fn () => inc count) end;
-
+val serial = Multithreading.serial;
 val serial_string = string_of_int o serial;