src/Pure/Concurrent/timeout.ML
changeset 82092 93195437fdee
parent 78787 a7e4b412cc7c
--- a/src/Pure/Concurrent/timeout.ML	Thu Feb 06 12:18:56 2025 +0100
+++ b/src/Pure/Concurrent/timeout.ML	Thu Feb 06 12:46:13 2025 +0100
@@ -15,7 +15,7 @@
   val end_time: Time.time -> Time.time
   val apply: Time.time -> ('a -> 'b) -> 'a -> 'b
   val apply_physical: Time.time -> ('a -> 'b) -> 'a -> 'b
-  val print: Time.time -> string
+  val message: Time.time -> string
 end;
 
 structure Timeout: TIMEOUT =
@@ -59,6 +59,6 @@
 fun apply timeout f x = apply' {physical = false, timeout = timeout} f x;
 fun apply_physical timeout f x = apply' {physical = true, timeout = timeout} f x;
 
-fun print t = "Timeout after " ^ Value.print_time t ^ "s";
+fun message t = "Timeout after " ^ Time.message t;
 
 end;