12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849(** [Core] is an extension of {{!Core_kernel}[Core_kernel]} with Unix APIs. The unmodified
libraries can be found there.
In particular, [Core] has comprehensive implementation of times ([Time] and
[Time_ns]), where some details are platform-specific.
Some modules are mere extensions of those existing in [Core_kernel], like [Bigstring],
[Caml], [Time], and [Md5], where what's added is handlers for reading from or writing
to Unix sockets and file descriptors, or support for floating-point numbers. Other
modules are entirely new, like:
- [Command], a richly featured tool for creating command-line programs.
- [Signal], for handling Unix signals like SIGHUP and SIGKILL.
A few modules in Core don't have any platform-specific functionality but haven't yet
been ported to Core_kernel for technical reasons (like a dependency on [Time], which
until recently was only in Core):
- [Interval]
*)(**/**)includeCore_kernel(**/**)moduleCaml=Core_camlmoduleCommand=Core_commandmoduleCore_stable=StablemoduleDate=Core_datemoduleFilename=Core_filenamemoduleInterval=IntervalmoduleInterval_intf=Interval_intfmoduleDigest=Md5[@@ocaml.deprecated"[since 2017-05] Use Md5 instead."](* When we moved [Mutex] out of [Core], we added this declaration of [Mutex] to prevent a
mistake in which code that used to use [Core.Mutex] is unintentionally and silently
switched to the stdlib's [Mutex] module. *)moduleMutex=structend[@@deprecated"[since 2019-02] Use [Error_checking_mutex]"]moduleSignal=SignalmoduleSys=Core_sysmoduleThread=Core_threadmoduleTime=Core_time_floatmoduleTime_common=Time_commonmoduleTime_ns=Core_time_nsmoduleUnix=Core_unixmoduleVersion_util=Version_util(* Can't go in Common for circular-reference reasons *)letsec=Time.Span.of_seclet(^/)=Core_filename.concat