async-mvar:Lwt_mvar到异步端口

时间:2024-06-20 13:06:57
【文件属性】:

文件名称:async-mvar:Lwt_mvar到异步端口

文件大小:3KB

文件格式:ZIP

更新时间:2024-06-20 13:06:57

OCaml

异步变量 async_mvar 提供了一个模块 - Async_mvar 。 这个模块类似于 Lwt 的Lwt_mvar一个端口。 主要区别在于Async_mvar不支持取消看跌期权。 这是因为 async 的 deferred 不像 Lwt 的线程那样支持本机取消。


【文件预览】:
async-mvar-master
----lib_test()
--------test_async_mvar.ml(836B)
----async-mvar.obuild(300B)
----opam(672B)
----.gitignore(13B)
----.merlin(47B)
----lib()
--------async_mvar.ml(984B)
----README.md(282B)

网友评论