|
[ |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Lightweight threads for Posix [1003.1c] and Win32. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1136 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1136 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1136 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1136 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1136 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1138, |
|
"pos_cnum": 1143 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1138, |
|
"pos_cnum": 1144 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "t" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ "Ptype_abstract" ], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": null, |
|
"ptype_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" The type of thread handles. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1145 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1179 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1145 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1179 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1145 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1179 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1145 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1179 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1138, |
|
"pos_cnum": 1138 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1138, |
|
"pos_cnum": 1144 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1138, |
|
"pos_cnum": 1138 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1138, |
|
"pos_cnum": 1144 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {1 Thread creation and termination} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1181 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1223 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1181 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1223 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1181 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1223 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1181 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1223 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1181 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1181, |
|
"pos_cnum": 1223 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1229 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1235 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "create" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1239 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1241 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "b" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1245 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1247 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1239 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1247 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1252 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1254 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1258 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1259 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1252 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1259 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1238 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1259 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [Thread.create funct arg] creates a new thread of control,\n in which the function application [funct arg]\n is executed concurrently with the other threads of the domain.\n The application of [Thread.create]\n returns the handle of the newly created thread.\n The new thread terminates when the application [funct arg]\n returns, either normally or by raising the {!Thread.Exit} exception\n or by raising any other uncaught exception.\n In the last case, the uncaught exception is printed on standard error,\n but not propagated back to the parent thread. Similarly, the\n result of the application [funct arg] is discarded and not\n directly accessible to the parent thread.\n\n See also {!Domain.spawn} if you want parallel execution instead.\n ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1260, |
|
"pos_cnum": 1260 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2026 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1260, |
|
"pos_cnum": 1260 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2026 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1260, |
|
"pos_cnum": 1260 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2026 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1260, |
|
"pos_cnum": 1260 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2026 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1225 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1259 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1225 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1225, |
|
"pos_cnum": 1259 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2032 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2036 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "self" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2039 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2043 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2047 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2048 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2039 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2048 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Return the handle for the thread currently executing. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 2049, |
|
"pos_cnum": 2049 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 2049, |
|
"pos_cnum": 2109 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 2049, |
|
"pos_cnum": 2049 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 2049, |
|
"pos_cnum": 2109 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 2049, |
|
"pos_cnum": 2049 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 2049, |
|
"pos_cnum": 2109 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 2049, |
|
"pos_cnum": 2049 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 2049, |
|
"pos_cnum": 2109 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2028 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2048 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2028 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 2028, |
|
"pos_cnum": 2048 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2115 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2117 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "id" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2120 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2121 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2125 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2128 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2120 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2128 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Return the identifier of the given thread. A thread identifier\n is an integer that identifies uniquely the thread.\n It can be used to build data structures indexed by threads. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 2129, |
|
"pos_cnum": 2129 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2250, |
|
"pos_cnum": 2315 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 2129, |
|
"pos_cnum": 2129 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2250, |
|
"pos_cnum": 2315 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 2129, |
|
"pos_cnum": 2129 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2250, |
|
"pos_cnum": 2315 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 2129, |
|
"pos_cnum": 2129 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2250, |
|
"pos_cnum": 2315 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2111 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2128 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2111 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2111, |
|
"pos_cnum": 2128 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_exception", |
|
{ |
|
"ptyexn_constructor": { |
|
"pext_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2317, |
|
"pos_cnum": 2327 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2317, |
|
"pos_cnum": 2331 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Exit" |
|
}, |
|
"pext_kind": [ "Pext_decl", [], [ "Pcstr_tuple", [] ], null ], |
|
"pext_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2317, |
|
"pos_cnum": 2317 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2317, |
|
"pos_cnum": 2331 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pext_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Exception raised by user code to initiate termination of the\n current thread.\n In a thread created by {!Thread.create} [funct] [arg], if the\n {!Thread.Exit} exception reaches the top of the application\n [funct arg], it has the effect of terminating the current thread\n silently. In other contexts, there is no implicit handling of the\n {!Thread.Exit} exception. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2332, |
|
"pos_cnum": 2332 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2687, |
|
"pos_cnum": 2719 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2332, |
|
"pos_cnum": 2332 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2687, |
|
"pos_cnum": 2719 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2332, |
|
"pos_cnum": 2332 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2687, |
|
"pos_cnum": 2719 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2332, |
|
"pos_cnum": 2332 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2687, |
|
"pos_cnum": 2719 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
}, |
|
"ptyexn_loc": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"ptyexn_attributes": [] |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2317, |
|
"pos_cnum": 2317 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2317, |
|
"pos_cnum": 2331 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2725 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2729 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "exit" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2732 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2736 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2740 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2744 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2732 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2744 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2748 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2764 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "ocaml.deprecated" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
"Use 'raise Thread.Exit' instead.", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2766 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2798 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2765 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2799 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2765 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2799 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2745 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2800 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Raise the {!Thread.Exit} exception.\n In a thread created by {!Thread.create}, this will cause the thread\n to terminate prematurely, unless the thread function handles the\n exception itself. {!Fun.protect} finalizers and catch-all\n exception handlers will be executed.\n\n To make it clear that an exception is raised and will trigger\n finalizers and catch-all exception handlers, it is recommended\n to write [raise Thread.Exit] instead of [Thread.exit ()].\n\n @before 5.0 A different implementation was used, not based on raising\n an exception, and not running finalizers and catch-all handlers.\n The previous implementation had a different behavior when called\n outside of a thread created by {!Thread.create}. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2801, |
|
"pos_cnum": 2801 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3503, |
|
"pos_cnum": 3562 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2801, |
|
"pos_cnum": 2801 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3503, |
|
"pos_cnum": 3562 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2801, |
|
"pos_cnum": 2801 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3503, |
|
"pos_cnum": 3562 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2801, |
|
"pos_cnum": 2801 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3503, |
|
"pos_cnum": 3562 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2721 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2800 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2721, |
|
"pos_cnum": 2721 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2745, |
|
"pos_cnum": 2800 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {1 Suspending threads} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3564 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3593 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3564 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3593 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3564 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3593 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3564 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3593 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3564 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3564, |
|
"pos_cnum": 3593 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3599 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3604 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "delay" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "float", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3606 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3611 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3615 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3619 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3606 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3619 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [delay d] suspends the execution of the calling thread for\n [d] seconds. The other program threads continue to run during\n this time. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3620, |
|
"pos_cnum": 3620 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3748, |
|
"pos_cnum": 3764 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3620, |
|
"pos_cnum": 3620 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3748, |
|
"pos_cnum": 3764 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3620, |
|
"pos_cnum": 3620 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3748, |
|
"pos_cnum": 3764 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3620, |
|
"pos_cnum": 3620 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3748, |
|
"pos_cnum": 3764 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3595 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3619 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3595 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 76, |
|
"pos_bol": 3595, |
|
"pos_cnum": 3619 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3770 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3774 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "join" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3777 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3778 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3782 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3786 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3777 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3786 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [join th] suspends the execution of the calling thread\n until the thread [th] has terminated. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3787, |
|
"pos_cnum": 3787 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3846, |
|
"pos_cnum": 3889 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3787, |
|
"pos_cnum": 3787 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3846, |
|
"pos_cnum": 3889 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3787, |
|
"pos_cnum": 3787 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3846, |
|
"pos_cnum": 3889 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3787, |
|
"pos_cnum": 3787 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3846, |
|
"pos_cnum": 3889 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3766 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3786 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3766 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3766, |
|
"pos_cnum": 3786 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3895 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3900 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "yield" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3903 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3907 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3911 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3915 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3903 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3915 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Re-schedule the calling thread without suspending it.\n This function can be used to give scheduling hints,\n telling the scheduler that now is a good time to\n switch to other threads. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3916, |
|
"pos_cnum": 3916 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 89, |
|
"pos_bol": 4081, |
|
"pos_cnum": 4111 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3916, |
|
"pos_cnum": 3916 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 89, |
|
"pos_bol": 4081, |
|
"pos_cnum": 4111 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3916, |
|
"pos_cnum": 3916 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 89, |
|
"pos_bol": 4081, |
|
"pos_cnum": 4111 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3916, |
|
"pos_cnum": 3916 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 89, |
|
"pos_bol": 4081, |
|
"pos_cnum": 4111 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3891 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3915 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3891 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3891, |
|
"pos_cnum": 3915 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {1 Waiting for file descriptors or processes} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4113 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4165 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4113 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4165 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4113 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4165 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4113 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4165 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4113 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 91, |
|
"pos_bol": 4113, |
|
"pos_cnum": 4165 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" The functions below are leftovers from an earlier, VM-based threading\n system. The {!Unix} module provides equivalent functionality, in\n a more general and more standard-conformant manner. It is recommended\n to use {!Unix} functions directly. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 93, |
|
"pos_bol": 4167, |
|
"pos_cnum": 4167 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 96, |
|
"pos_bol": 4386, |
|
"pos_cnum": 4427 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 93, |
|
"pos_bol": 4167, |
|
"pos_cnum": 4167 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 96, |
|
"pos_bol": 4386, |
|
"pos_cnum": 4427 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 93, |
|
"pos_bol": 4167, |
|
"pos_cnum": 4167 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 96, |
|
"pos_bol": 4386, |
|
"pos_cnum": 4427 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 93, |
|
"pos_bol": 4167, |
|
"pos_cnum": 4167 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 96, |
|
"pos_bol": 4386, |
|
"pos_cnum": 4427 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 93, |
|
"pos_bol": 4167, |
|
"pos_cnum": 4167 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 96, |
|
"pos_bol": 4386, |
|
"pos_cnum": 4427 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4433 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4448 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "wait_timed_read" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Unixfile_descr", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4451 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4466 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "float", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4470 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4475 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4479 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4483 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4470 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4483 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4451 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4483 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4487 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4503 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "ocaml.deprecated" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
"Use Unix.select instead.", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4505 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4529 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4504 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4530 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4504 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4530 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4484 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4531 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" See {!Thread.wait_timed_write}.", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 100, |
|
"pos_bol": 4532, |
|
"pos_cnum": 4532 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 100, |
|
"pos_bol": 4532, |
|
"pos_cnum": 4569 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 100, |
|
"pos_bol": 4532, |
|
"pos_cnum": 4532 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 100, |
|
"pos_bol": 4532, |
|
"pos_cnum": 4569 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 100, |
|
"pos_bol": 4532, |
|
"pos_cnum": 4532 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 100, |
|
"pos_bol": 4532, |
|
"pos_cnum": 4569 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 100, |
|
"pos_bol": 4532, |
|
"pos_cnum": 4532 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 100, |
|
"pos_bol": 4532, |
|
"pos_cnum": 4569 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4429 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4531 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 98, |
|
"pos_bol": 4429, |
|
"pos_cnum": 4429 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 99, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4531 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4575 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4591 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "wait_timed_write" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Unixfile_descr", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4594 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4609 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "float", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4613 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4618 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4622 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4626 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4613 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4626 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4594 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4626 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4630 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4646 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "ocaml.deprecated" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
"Use Unix.select instead.", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4648 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4672 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4647 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4673 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4647 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4673 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4627 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4674 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Suspend the execution of the calling thread until at least\n one character or EOF is available for reading ([wait_timed_read]) or\n one character can be written without blocking ([wait_timed_write])\n on the given Unix file descriptor. Wait for at most\n the amount of time given as second argument (in seconds).\n Return [true] if the file descriptor is ready for input/output\n and [false] if the timeout expired.\n The same functionality can be achieved with {!Unix.select}.\n", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 104, |
|
"pos_bol": 4675, |
|
"pos_cnum": 4675 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 5164, |
|
"pos_cnum": 5166 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 104, |
|
"pos_bol": 4675, |
|
"pos_cnum": 4675 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 5164, |
|
"pos_cnum": 5166 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 104, |
|
"pos_bol": 4675, |
|
"pos_cnum": 4675 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 5164, |
|
"pos_cnum": 5166 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 104, |
|
"pos_bol": 4675, |
|
"pos_cnum": 4675 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 5164, |
|
"pos_cnum": 5166 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4571 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4674 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 102, |
|
"pos_bol": 4571, |
|
"pos_cnum": 4571 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 103, |
|
"pos_bol": 4627, |
|
"pos_cnum": 4674 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 114, |
|
"pos_bol": 5168, |
|
"pos_cnum": 5172 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 114, |
|
"pos_bol": 5168, |
|
"pos_cnum": 5178 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "select" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Unixfile_descr", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5183 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5198 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5183 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5203 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Unixfile_descr", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5207 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5222 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5207 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5227 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "Unixfile_descr", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 116, |
|
"pos_bol": 5231, |
|
"pos_cnum": 5233 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 116, |
|
"pos_bol": 5231, |
|
"pos_cnum": 5248 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 116, |
|
"pos_bol": 5231, |
|
"pos_cnum": 5233 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 116, |
|
"pos_bol": 5231, |
|
"pos_cnum": 5253 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "float", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 116, |
|
"pos_bol": 5231, |
|
"pos_cnum": 5257 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 116, |
|
"pos_bol": 5231, |
|
"pos_cnum": 5262 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_tuple", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "Unixfile_descr", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5270 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5285 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5270 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5290 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "Unixfile_descr", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5293 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5308 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5293 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5313 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "Unixfile_descr", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5316 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5331 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5316 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5336 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5270 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5336 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 116, |
|
"pos_bol": 5231, |
|
"pos_cnum": 5257 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5336 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 116, |
|
"pos_bol": 5231, |
|
"pos_cnum": 5233 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5336 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5207 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5336 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 115, |
|
"pos_bol": 5181, |
|
"pos_cnum": 5183 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 117, |
|
"pos_bol": 5266, |
|
"pos_cnum": 5336 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5340 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5356 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "ocaml.deprecated" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
"Use Unix.select instead.", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5358 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5382 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5357 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5383 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5357 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5383 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5337 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5384 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Same function as {!Unix.select}.\n Suspend the execution of the calling thread until input/output\n becomes possible on the given Unix file descriptors.\n The arguments and results have the same meaning as for\n {!Unix.select}. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 119, |
|
"pos_bol": 5385, |
|
"pos_cnum": 5385 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 123, |
|
"pos_bol": 5602, |
|
"pos_cnum": 5623 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 119, |
|
"pos_bol": 5385, |
|
"pos_cnum": 5385 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 123, |
|
"pos_bol": 5602, |
|
"pos_cnum": 5623 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 119, |
|
"pos_bol": 5385, |
|
"pos_cnum": 5385 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 123, |
|
"pos_bol": 5602, |
|
"pos_cnum": 5623 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 119, |
|
"pos_bol": 5385, |
|
"pos_cnum": 5385 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 123, |
|
"pos_bol": 5602, |
|
"pos_cnum": 5623 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 114, |
|
"pos_bol": 5168, |
|
"pos_cnum": 5168 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5384 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 114, |
|
"pos_bol": 5168, |
|
"pos_cnum": 5168 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 118, |
|
"pos_bol": 5337, |
|
"pos_cnum": 5384 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5629 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5637 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "wait_pid" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5640 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5643 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_tuple", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5647 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5650 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Unixprocess_status", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5653 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5672 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5647 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5672 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5640 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5672 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5676 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5692 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "ocaml.deprecated" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
"Use Unix.waitpid instead.", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5694 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5719 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5693 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5720 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5693 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5720 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5673 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5721 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Same function as {!Unix.waitpid}.\n [wait_pid p] suspends the execution of the calling thread\n until the process specified by the process identifier [p]\n terminates. Returns the pid of the child caught and\n its termination status, as per {!Unix.wait}. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 127, |
|
"pos_bol": 5722, |
|
"pos_cnum": 5722 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 131, |
|
"pos_bol": 5937, |
|
"pos_cnum": 5987 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 127, |
|
"pos_bol": 5722, |
|
"pos_cnum": 5722 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 131, |
|
"pos_bol": 5937, |
|
"pos_cnum": 5987 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 127, |
|
"pos_bol": 5722, |
|
"pos_cnum": 5722 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 131, |
|
"pos_bol": 5937, |
|
"pos_cnum": 5987 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 127, |
|
"pos_bol": 5722, |
|
"pos_cnum": 5722 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 131, |
|
"pos_bol": 5937, |
|
"pos_cnum": 5987 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5625 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5721 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 125, |
|
"pos_bol": 5625, |
|
"pos_cnum": 5625 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 126, |
|
"pos_bol": 5673, |
|
"pos_cnum": 5721 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {1 Management of signals} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 5989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 6021 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 5989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 6021 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 5989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 6021 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 5989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 6021 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 5989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 133, |
|
"pos_bol": 5989, |
|
"pos_cnum": 6021 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Signal handling follows the POSIX thread model: signals generated\n by a thread are delivered to that thread; signals generated externally\n are delivered to one of the threads that does not block it.\n Each thread possesses a set of blocked signals, which can be modified\n using {!Thread.sigmask}. This set is inherited at thread creation time.\n Per-thread signal masks are supported only by the system thread library\n under Unix, but not under Win32, nor by the VM thread library. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 135, |
|
"pos_bol": 6023, |
|
"pos_cnum": 6023 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 141, |
|
"pos_bol": 6449, |
|
"pos_cnum": 6516 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 135, |
|
"pos_bol": 6023, |
|
"pos_cnum": 6023 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 141, |
|
"pos_bol": 6449, |
|
"pos_cnum": 6516 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 135, |
|
"pos_bol": 6023, |
|
"pos_cnum": 6023 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 141, |
|
"pos_bol": 6449, |
|
"pos_cnum": 6516 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 135, |
|
"pos_bol": 6023, |
|
"pos_cnum": 6023 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 141, |
|
"pos_bol": 6449, |
|
"pos_cnum": 6516 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 135, |
|
"pos_bol": 6023, |
|
"pos_cnum": 6023 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 141, |
|
"pos_bol": 6449, |
|
"pos_cnum": 6516 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6522 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6529 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "sigmask" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Unixsigprocmask_command", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6532 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6556 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6560 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6563 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6560 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6568 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6572 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6575 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6572 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6580 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6560 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6580 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6532 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6580 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [sigmask cmd sigs] changes the set of blocked signals for the\n calling thread.\n If [cmd] is [SIG_SETMASK], blocked signals are set to those in\n the list [sigs].\n If [cmd] is [SIG_BLOCK], the signals in [sigs] are added to\n the set of blocked signals.\n If [cmd] is [SIG_UNBLOCK], the signals in [sigs] are removed\n from the set of blocked signals.\n [sigmask] returns the set of previously blocked signals for the thread. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 144, |
|
"pos_bol": 6581, |
|
"pos_cnum": 6581 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 152, |
|
"pos_bol": 6946, |
|
"pos_cnum": 7023 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 144, |
|
"pos_bol": 6581, |
|
"pos_cnum": 6581 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 152, |
|
"pos_bol": 6946, |
|
"pos_cnum": 7023 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 144, |
|
"pos_bol": 6581, |
|
"pos_cnum": 6581 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 152, |
|
"pos_bol": 6946, |
|
"pos_cnum": 7023 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 144, |
|
"pos_bol": 6581, |
|
"pos_cnum": 6581 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 152, |
|
"pos_bol": 6946, |
|
"pos_cnum": 7023 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6518 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6580 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6518 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 143, |
|
"pos_bol": 6518, |
|
"pos_cnum": 6580 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7030 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7041 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "wait_signal" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7044 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7047 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7044 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7052 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7056 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7059 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7044 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7059 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [wait_signal sigs] suspends the execution of the calling thread\n until the process receives one of the signals specified in the\n list [sigs]. It then returns the number of the signal received.\n Signal handlers attached to the signals in [sigs] will not\n be invoked. The signals [sigs] are expected to be blocked before\n calling [wait_signal]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 156, |
|
"pos_bol": 7060, |
|
"pos_cnum": 7060 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 161, |
|
"pos_bol": 7393, |
|
"pos_cnum": 7421 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 156, |
|
"pos_bol": 7060, |
|
"pos_cnum": 7060 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 161, |
|
"pos_bol": 7393, |
|
"pos_cnum": 7421 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 156, |
|
"pos_bol": 7060, |
|
"pos_cnum": 7060 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 161, |
|
"pos_bol": 7393, |
|
"pos_cnum": 7421 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 156, |
|
"pos_bol": 7060, |
|
"pos_cnum": 7060 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 161, |
|
"pos_bol": 7393, |
|
"pos_cnum": 7421 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7026 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7059 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7026 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 7026, |
|
"pos_cnum": 7059 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" {1 Uncaught exceptions} ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7423 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7453 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7423 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7453 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7423 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7453 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7423 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7453 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7423 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 7423, |
|
"pos_cnum": 7453 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7459 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7493 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "default_uncaught_exception_handler" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "exn", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7496 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7499 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7503 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7507 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7496 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7507 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [Thread.default_uncaught_exception_handler] will print the thread's id,\n exception and backtrace (if available). ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 166, |
|
"pos_bol": 7508, |
|
"pos_cnum": 7508 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 167, |
|
"pos_bol": 7584, |
|
"pos_cnum": 7630 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 166, |
|
"pos_bol": 7508, |
|
"pos_cnum": 7508 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 167, |
|
"pos_bol": 7584, |
|
"pos_cnum": 7630 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 166, |
|
"pos_bol": 7508, |
|
"pos_cnum": 7508 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 167, |
|
"pos_bol": 7584, |
|
"pos_cnum": 7630 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 166, |
|
"pos_bol": 7508, |
|
"pos_cnum": 7508 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 167, |
|
"pos_bol": 7584, |
|
"pos_cnum": 7630 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7455 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7507 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7455 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 7455, |
|
"pos_cnum": 7507 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7636 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7666 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "set_uncaught_exception_handler" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "exn", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7670 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7673 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7677 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7681 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7670 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7681 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7686 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7690 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7669 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7690 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.doc" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" [Thread.set_uncaught_exception_handler fn] registers [fn] as the handler\n for uncaught exceptions.\n\n If the newly set uncaught exception handler raise an exception,\n {!default_uncaught_exception_handler} will be called. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 170, |
|
"pos_bol": 7691, |
|
"pos_cnum": 7691 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 174, |
|
"pos_bol": 7866, |
|
"pos_cnum": 7926 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 170, |
|
"pos_bol": 7691, |
|
"pos_cnum": 7691 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 174, |
|
"pos_bol": 7866, |
|
"pos_cnum": 7926 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 170, |
|
"pos_bol": 7691, |
|
"pos_cnum": 7691 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 174, |
|
"pos_bol": 7866, |
|
"pos_cnum": 7926 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 170, |
|
"pos_bol": 7691, |
|
"pos_cnum": 7691 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 174, |
|
"pos_bol": 7866, |
|
"pos_cnum": 7926 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7632 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7690 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7632 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./otherlibs/systhreads/thread.mli", |
|
"pos_lnum": 169, |
|
"pos_bol": 7632, |
|
"pos_cnum": 7690 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|