|
[ |
|
{ |
|
"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", |
|
" Cooperative locks for mutual exclusion ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 207 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 207 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 207 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 207 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 162 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 6, |
|
"pos_bol": 162, |
|
"pos_cnum": 207 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 8, |
|
"pos_bol": 209, |
|
"pos_cnum": 214 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 8, |
|
"pos_bol": 209, |
|
"pos_cnum": 215 |
|
}, |
|
"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", |
|
" Type of Lwt mutexes ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 9, |
|
"pos_bol": 216, |
|
"pos_cnum": 218 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 9, |
|
"pos_bol": 216, |
|
"pos_cnum": 244 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 9, |
|
"pos_bol": 216, |
|
"pos_cnum": 218 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 9, |
|
"pos_bol": 216, |
|
"pos_cnum": 244 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 9, |
|
"pos_bol": 216, |
|
"pos_cnum": 218 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 9, |
|
"pos_bol": 216, |
|
"pos_cnum": 244 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 9, |
|
"pos_bol": 216, |
|
"pos_cnum": 218 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 9, |
|
"pos_bol": 216, |
|
"pos_cnum": 244 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 8, |
|
"pos_bol": 209, |
|
"pos_cnum": 209 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 8, |
|
"pos_bol": 209, |
|
"pos_cnum": 215 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 8, |
|
"pos_bol": 209, |
|
"pos_cnum": 209 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 8, |
|
"pos_bol": 209, |
|
"pos_cnum": 215 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 250 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 256 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "create" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 259 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 263 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 267 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 268 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 259 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 268 |
|
}, |
|
"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", |
|
" [create ()] creates a new mutex, which is initially unlocked ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 269, |
|
"pos_cnum": 271 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 269, |
|
"pos_cnum": 338 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 269, |
|
"pos_cnum": 271 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 269, |
|
"pos_cnum": 338 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 269, |
|
"pos_cnum": 271 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 269, |
|
"pos_cnum": 338 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 269, |
|
"pos_cnum": 271 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 269, |
|
"pos_cnum": 338 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 246 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 268 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 246 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 11, |
|
"pos_bol": 246, |
|
"pos_cnum": 268 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 344 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 348 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "lock" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 351 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 352 |
|
}, |
|
"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/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 356 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 360 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 356 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 366 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 351 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 366 |
|
}, |
|
"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", |
|
" [lock mutex] lockcs the mutex, that is:\n\n - if the mutex is unlocked, then it is marked as locked and\n {!lock} returns immediately\n\n - if it is locked, then {!lock} waits for all threads waiting on\n the mutex to terminate, then it resumes when the last one\n unlocks the mutex\n\n Note: threads are woken up in the same order they try to lock the\n mutex ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 367, |
|
"pos_cnum": 369 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 753, |
|
"pos_cnum": 767 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 367, |
|
"pos_cnum": 369 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 753, |
|
"pos_cnum": 767 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 367, |
|
"pos_cnum": 369 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 753, |
|
"pos_cnum": 767 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 367, |
|
"pos_cnum": 369 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 753, |
|
"pos_cnum": 767 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 340 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 366 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 340 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 340, |
|
"pos_cnum": 366 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 773 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 779 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "unlock" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 782 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 783 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 787 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 791 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 782 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 791 |
|
}, |
|
"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", |
|
" [unlock mutex] unlock the mutex if no threads is waiting on\n it. Otherwise it will eventually removes the first one and\n resumes it. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 792, |
|
"pos_cnum": 794 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 923, |
|
"pos_cnum": 943 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 792, |
|
"pos_cnum": 794 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 923, |
|
"pos_cnum": 943 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 792, |
|
"pos_cnum": 794 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 923, |
|
"pos_cnum": 943 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 792, |
|
"pos_cnum": 794 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 923, |
|
"pos_cnum": 943 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 769 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 791 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 769 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 769, |
|
"pos_cnum": 791 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 949 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 958 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "is_locked" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 961 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 962 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 966 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 970 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 961 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 970 |
|
}, |
|
"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", |
|
" [locked mutex] returns whether [mutex] is currently locked ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 971, |
|
"pos_cnum": 973 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 971, |
|
"pos_cnum": 1038 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 971, |
|
"pos_cnum": 973 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 971, |
|
"pos_cnum": 1038 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 971, |
|
"pos_cnum": 973 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 971, |
|
"pos_cnum": 1038 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 971, |
|
"pos_cnum": 973 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 971, |
|
"pos_cnum": 1038 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 945 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 970 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 945 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 945, |
|
"pos_cnum": 970 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1044 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1052 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "is_empty" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1055 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1056 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1060 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1064 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1055 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1064 |
|
}, |
|
"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", |
|
" [is_empty mutex] returns [true] if they are no thread waiting on\n the mutex, and [false] otherwise ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1065, |
|
"pos_cnum": 1067 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1136, |
|
"pos_cnum": 1177 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1065, |
|
"pos_cnum": 1067 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1136, |
|
"pos_cnum": 1177 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1065, |
|
"pos_cnum": 1067 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1136, |
|
"pos_cnum": 1177 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1065, |
|
"pos_cnum": 1067 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1136, |
|
"pos_cnum": 1177 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1040 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1064 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1040 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1040, |
|
"pos_cnum": 1064 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1183 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1192 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "with_lock" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1195 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1196 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1201 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1205 |
|
}, |
|
"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/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1209 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1211 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1209 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1217 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1201 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1217 |
|
}, |
|
"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/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1222 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1224 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1222 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1230 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1200 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1230 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1195 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1230 |
|
}, |
|
"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", |
|
" [with_lock lock f] is used to lock a mutex within a block scope.\n The function [f ()] is called with the mutex locked, and its\n result is returned from the call to [with_lock]. If an exception\n is raised from f, the mutex is also unlocked before the scope of\n [with_lock] is exited. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1231, |
|
"pos_cnum": 1233 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1511, |
|
"pos_cnum": 1542 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1231, |
|
"pos_cnum": 1233 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1511, |
|
"pos_cnum": 1542 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1231, |
|
"pos_cnum": 1233 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1511, |
|
"pos_cnum": 1542 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1231, |
|
"pos_cnum": 1233 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 44, |
|
"pos_bol": 1511, |
|
"pos_cnum": 1542 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1179 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1230 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1179 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/lwt/lwt_mutex.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1179, |
|
"pos_cnum": 1230 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|