diff options
| author | Emilio Jesus Gallego Arias | 2019-01-24 14:25:09 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-01-24 14:25:09 +0100 |
| commit | ea6c157e7a47039d2c1505e896dbdd099a0da450 (patch) | |
| tree | 6bf2035eee82d12be341602edb3653991399cb07 /clib/cThread.mli | |
| parent | f5241b99bb15f019eb629a7f24f2993f011e7e06 (diff) | |
| parent | aa4f1346e7cf2f8424259143d7aca6a883d3f9d2 (diff) | |
Merge PR #9372: [thread] protect threads against sigalrm
Reviewed-by: ejgallego
Diffstat (limited to 'clib/cThread.mli')
| -rw-r--r-- | clib/cThread.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clib/cThread.mli b/clib/cThread.mli index acc5a60c09..b090479c4c 100644 --- a/clib/cThread.mli +++ b/clib/cThread.mli @@ -26,3 +26,6 @@ val thread_friendly_really_read : thread_ic -> Bytes.t -> off:int -> len:int -> unit val thread_friendly_really_read_line : thread_ic -> string +(* Wrapper around Thread.create that blocks signals such as Sys.sigalrm (used + * for Timeout *) +val create : ('a -> 'b) -> 'a -> Thread.t |
