|
[ |
|
{ |
|
"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", |
|
" This module allows to mix preemptive threads with [Lwt]\n cooperative threads. It maintains an extensible pool of preemptive\n threads to which you can detach computations.\n\n See {{:https://github.com/hcarty/mwt} Mwt} for a more modern\n implementation. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 409, |
|
"pos_cnum": 431 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 409, |
|
"pos_cnum": 431 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 409, |
|
"pos_cnum": 431 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 409, |
|
"pos_cnum": 431 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 409, |
|
"pos_cnum": 431 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 437 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 443 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "detach" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 447 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 449 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "b" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 453 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 455 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 447 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 455 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 460 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 462 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"Lwtt", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "b" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 466 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 468 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 466 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 474 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 460 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 474 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 446 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 474 |
|
}, |
|
"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", |
|
" [detach f x] runs the computation [f x] in a separate preemptive thread.\n [detach] evaluates to an Lwt promise, which is pending until the\n preemptive thread completes.\n\n [detach] calls {!simple_init} internally, which means that the number of\n preemptive threads is capped by default at four. If you would like a\n higher limit, call {!init} or {!set_bounds} directly.\n\n Note that Lwt thread-local storage (i.e., {!Lwt.with_value}) cannot be\n safely used from within [f]. The same goes for most of the rest of Lwt. If\n you need to run an Lwt thread in [f], use {!run_in_main}. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 475, |
|
"pos_cnum": 477 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1034, |
|
"pos_cnum": 1100 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 475, |
|
"pos_cnum": 477 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1034, |
|
"pos_cnum": 1100 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 475, |
|
"pos_cnum": 477 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1034, |
|
"pos_cnum": 1100 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 475, |
|
"pos_cnum": 477 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1034, |
|
"pos_cnum": 1100 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 433 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 474 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 433 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 13, |
|
"pos_bol": 433, |
|
"pos_cnum": 474 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1106 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1117 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "run_in_main" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1121 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1125 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"Lwtt", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1129 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1131 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1129 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1137 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1121 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1137 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1142 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1144 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1120 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1144 |
|
}, |
|
"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", |
|
" [run_in_main f] can be called from a detached computation to execute\n [f ()] in the main preemptive thread, i.e. the one executing\n {!Lwt_main.run}. [run_in_main f] blocks until [f ()] completes, then\n returns its result. If [f ()] raises an exception, [run_in_main f] raises\n the same exception.\n\n {!Lwt.with_value} may be used inside [f ()]. {!Lwt.get} can correctly\n retrieve values set this way inside [f ()], but not values set using\n {!Lwt.with_value} outside [f ()]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1147 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1620, |
|
"pos_cnum": 1662 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1147 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1620, |
|
"pos_cnum": 1662 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1147 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1620, |
|
"pos_cnum": 1662 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1145, |
|
"pos_cnum": 1147 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1620, |
|
"pos_cnum": 1662 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1102 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1144 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1102 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1102, |
|
"pos_cnum": 1144 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1668 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1689 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "run_in_main_dont_wait" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1693 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1697 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"Lwtt", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1701 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1705 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1701 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1711 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1693 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1711 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "exn", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1717 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1720 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1724 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1728 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1717 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1728 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1733 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1737 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1716 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1737 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1692 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1737 |
|
}, |
|
"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", |
|
" [run_in_main_dont_wait f h] does the same as [run_in_main f] but a bit faster\n and lighter as it does not wait for the result of [f].\n\n If [f]'s promise is rejected (or if it raises), then the function [h] is\n called with the rejection exception.\n\n @since 5.7.0 ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1738, |
|
"pos_cnum": 1738 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1999, |
|
"pos_cnum": 2018 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1738, |
|
"pos_cnum": 1738 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1999, |
|
"pos_cnum": 2018 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1738, |
|
"pos_cnum": 1738 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1999, |
|
"pos_cnum": 2018 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1738, |
|
"pos_cnum": 1738 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1999, |
|
"pos_cnum": 2018 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1664 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1737 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1664 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1664, |
|
"pos_cnum": 1737 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2024 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2028 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "init" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2031 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2034 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2038 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2041 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2046 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2052 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2056 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2060 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2046 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2060 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2065 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2069 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2045 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2069 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2038 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2069 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2031 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2069 |
|
}, |
|
"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", |
|
" [init min max log] initialises this module. i.e. it launches the\n minimum number of preemptive threads and starts the {b\n dispatcher}.\n\n @param min is the minimum number of threads\n @param max is the maximum number of threads\n @param log is used to log error messages\n\n If {!Lwt_preemptive} has already been initialised, this call\n only modify bounds and the log function. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2070, |
|
"pos_cnum": 2072 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 2437, |
|
"pos_cnum": 2486 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2070, |
|
"pos_cnum": 2072 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 2437, |
|
"pos_cnum": 2486 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2070, |
|
"pos_cnum": 2072 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 2437, |
|
"pos_cnum": 2486 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2070, |
|
"pos_cnum": 2072 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 2437, |
|
"pos_cnum": 2486 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2020 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2069 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2020 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2020, |
|
"pos_cnum": 2069 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2492 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2503 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "simple_init" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2506 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2510 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2514 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2518 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2506 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2518 |
|
}, |
|
"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", |
|
" [simple_init ()] checks if the library is not yet initialized, and if not,\n does a {i simple initialization}. The minimum number of threads is set to\n zero, maximum to four, and the log function is left unchanged, i.e. the\n default built-in logging function is used. See {!Lwt_preemptive.init}.\n\n Note: this function is automatically called by {!detach}. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2519, |
|
"pos_cnum": 2519 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 2828, |
|
"pos_cnum": 2892 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2519, |
|
"pos_cnum": 2519 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 2828, |
|
"pos_cnum": 2892 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2519, |
|
"pos_cnum": 2519 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 2828, |
|
"pos_cnum": 2892 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2519, |
|
"pos_cnum": 2519 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 2828, |
|
"pos_cnum": 2892 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2488 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2518 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2488 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2488, |
|
"pos_cnum": 2518 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2898 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2908 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "get_bounds" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2911 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2915 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_tuple", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2919 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2922 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2925 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2928 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2919 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2928 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2911 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2928 |
|
}, |
|
"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", |
|
" [get_bounds ()] returns the minimum and the maximum number of\n preemptive threads. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 2929, |
|
"pos_cnum": 2931 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 68, |
|
"pos_bol": 2997, |
|
"pos_cnum": 3025 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 2929, |
|
"pos_cnum": 2931 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 68, |
|
"pos_bol": 2997, |
|
"pos_cnum": 3025 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 2929, |
|
"pos_cnum": 2931 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 68, |
|
"pos_bol": 2997, |
|
"pos_cnum": 3025 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 2929, |
|
"pos_cnum": 2931 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 68, |
|
"pos_bol": 2997, |
|
"pos_cnum": 3025 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2894 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2928 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2894 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2894, |
|
"pos_cnum": 2928 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3031 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3041 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "set_bounds" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_tuple", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3044 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3047 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3050 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3053 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3044 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3053 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3057 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3061 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3044 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3061 |
|
}, |
|
"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", |
|
" [set_bounds (min, max)] set the minimum and the maximum number\n of preemptive threads. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 71, |
|
"pos_bol": 3062, |
|
"pos_cnum": 3064 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3131, |
|
"pos_cnum": 3162 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 71, |
|
"pos_bol": 3062, |
|
"pos_cnum": 3064 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3131, |
|
"pos_cnum": 3162 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 71, |
|
"pos_bol": 3062, |
|
"pos_cnum": 3064 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3131, |
|
"pos_cnum": 3162 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 71, |
|
"pos_bol": 3062, |
|
"pos_cnum": 3064 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3131, |
|
"pos_cnum": 3162 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3027 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3061 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3027 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3027, |
|
"pos_cnum": 3061 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3168 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3200 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "set_max_number_of_threads_queued" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3203 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3206 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3210 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3214 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3203 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3214 |
|
}, |
|
"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", |
|
" Sets the size of the waiting queue, if no more preemptive\n threads are available. When the queue is full, {!detach} will\n sleep until a thread is available. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3215, |
|
"pos_cnum": 3217 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3347, |
|
"pos_cnum": 3390 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3215, |
|
"pos_cnum": 3217 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3347, |
|
"pos_cnum": 3390 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3215, |
|
"pos_cnum": 3217 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3347, |
|
"pos_cnum": 3390 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3215, |
|
"pos_cnum": 3217 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 77, |
|
"pos_bol": 3347, |
|
"pos_cnum": 3390 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3164 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3214 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3164 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3164, |
|
"pos_cnum": 3214 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3396 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3428 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "get_max_number_of_threads_queued" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3431 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3435 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3439 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3442 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3431 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3442 |
|
}, |
|
"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", |
|
" Returns the size of the waiting queue, if no more threads are\n available ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 80, |
|
"pos_bol": 3443, |
|
"pos_cnum": 3445 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3511, |
|
"pos_cnum": 3529 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 80, |
|
"pos_bol": 3443, |
|
"pos_cnum": 3445 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3511, |
|
"pos_cnum": 3529 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 80, |
|
"pos_bol": 3443, |
|
"pos_cnum": 3445 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3511, |
|
"pos_cnum": 3529 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 80, |
|
"pos_bol": 3443, |
|
"pos_cnum": 3445 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3511, |
|
"pos_cnum": 3529 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3392 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3442 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3392 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3442 |
|
}, |
|
"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", |
|
"/*", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3531 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3538 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3531 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3538 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3531 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3538 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3531 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3538 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3531 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3531, |
|
"pos_cnum": 3538 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3543 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3552 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "nbthreads" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3555 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3559 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3563 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3566 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3555 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3566 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3539 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3566 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3539 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 84, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3566 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3571 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3584 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "nbthreadsbusy" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3587 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3591 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3595 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3598 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3587 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3598 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3567 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3598 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3567 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3567, |
|
"pos_cnum": 3598 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3603 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3618 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "nbthreadsqueued" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3621 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3625 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3629 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3632 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3621 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3632 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3599 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3632 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3599 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/unix/lwt_preemptive.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3599, |
|
"pos_cnum": 3632 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|