Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Source file caqti_system_sig.ml
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758(* Copyright (C) 2017--2018 Petter A. Urkedal <paurkedal@gmail.com>
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version, with the OCaml static compilation exception.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*)(** (internal) System Interface
The system utilities used by drivers. This signature will likely be
extended or changed due requirements of new backends. *)moduletypeS=sigtype+'afutureval(>>=):'afuture->('a->'bfuture)->'bfutureval(>|=):'afuture->('a->'b)->'bfuturevalreturn:'a->'afuturevaljoin:unitfuturelist->unitfuturemoduleMvar:sigtype'atvalcreate:unit->'atvalstore:'a->'at->unitvalfetch:'at->'afutureendmoduleUnix:sigtypefile_descrvalwrap_fd:(file_descr->'afuture)->Unix.file_descr->'afuturevalpoll:?read:bool->?write:bool->?timeout:float->file_descr->(bool*bool*bool)futureendmoduleLog:sigvalerror_f:('a,unit,string,unitfuture)format4->'avalwarning_f:('a,unit,string,unitfuture)format4->'avalinfo_f:('a,unit,string,unitfuture)format4->'avaldebug_f:('a,unit,string,unitfuture)format4->'aendmodulePreemptive:sigvaldetach:('a->'b)->'a->'bfuturevalrun_in_main:(unit->'afuture)->'aendend