Frama-C API - Thread
include Frama_c_kernel.Datatype.S_with_collections
include Frama_c_kernel.Datatype.S
include Frama_c_kernel.Datatype.S_no_copy
val datatype_descr : t Frama_c_kernel.Descr.tDatatype descriptor.
val packed_descr : Frama_c_kernel.Structural_descr.packPacked version of the descriptor.
val reprs : t listList of representants of the descriptor.
val hash : t -> intHash function: same spec than Hashtbl.hash.
val pretty : Stdlib.Format.formatter -> t -> unitPretty print each value in an user-friendly way.
val mem_project : (Frama_c_kernel.Project_skeleton.t -> bool) -> t -> boolmem_project f x must return true iff there is a value p of type Project.t in x such that f p returns true.
module Set : Frama_c_kernel.Datatype.Set with type elt = tmodule Map : Frama_c_kernel.Datatype.Map with type key = tmodule Hashtbl : Frama_c_kernel.Datatype.Hashtbl with type key = tval main : tval is_main : t -> boolval id : t -> intval label : t -> stringval find : int -> t optionval spawn : Position.local -> Concurrency.Name.t option -> Frama_c_kernel.Cil_types.kernel_function -> Frama_c_kernel.Cvalue.V.t list -> tspawn al name kf args registers the creation of a thread encountered in Eva analysis, and either add this spawn to an existing thread analysis or create a new thread analysis.
val is_interrupt_handler : Frama_c_kernel.Cil_types.kernel_function -> boolis_interrupt_handler kf returns true if kf has been registered as an interrupt handler.
val interrupt_handler : Frama_c_kernel.Cil_types.kernel_function -> tinterrupt_handler kf returns the thread representing the interrupt handler kf.
val interrupt_handlers : unit -> t listinterrupt_handlers () returns the threads representing the registered interrupt handlers.
val register_interrupt_handlers : Frama_c_kernel.Kernel_function.Set.t -> unitRegister a set of functions serving as interrupt handlers.
val current : unit -> tval set_current : t -> unitval entry_point : t -> Frama_c_kernel.Kernel_function.t