···8989 default environment (where `TEMP` is set), there is no discernible change.
9090 (Antonin Décimo, review by Nicolás Ojeda Bär and David Allsopp)
91919292+- #13504: Add `Thread.set_current_thread_name`.
9393+ (Romain Beauxis, review by Gabriel Scherer and Antonin Décimo)
9494+9295### Tools:
93969497- #12019: ocamlc: add `align_double` and `align_int64` to `ocamlc -config`
···4545 is an integer that identifies uniquely the thread.
4646 It can be used to build data structures indexed by threads. *)
47474848+val set_current_thread_name : string -> unit
4949+(** Set the thread's name. This should be called from within the thread
5050+ function. Setting thread name is available on most systems.
5151+5252+ This does nothing if the functionality is not implemented but will
5353+ print a warning on the standard error if enabled.
5454+5555+ @since 5.4 *)
5656+4857exception Exit
4958(** Exception raised by user code to initiate termination of the
5059 current thread.
+10
runtime/caml/s.h.in
···108108109109#undef HAS_PTHREAD_NP_H
110110111111+#undef HAS_DECL_PRCTL
112112+113113+#undef HAS_PTHREAD_SETNAME_NP
114114+115115+#undef HAS_PTHREAD_SET_NAME_NP
116116+117117+#undef HAS_SETTHREADDESCRIPTION
118118+119119+#undef HAS_DECL_SETTHREADDESCRIPTION
120120+111121#undef HAS_UNISTD
112122113123/* Define HAS_UNISTD if you have /usr/include/unistd.h. */