Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Cloud Haskell 中,该expect函数有一个名为expectTimeout. receiveChan(对于类型安全通道)是否还有超时功能?资源
expect
expectTimeout
receiveChan
目前,我的应用程序将无限期地等待回复,因此如果进程死亡,我的应用程序将处于死锁状态,因此,如果我可以设置超时以便它忽略已经死亡的进程,那就太好了。
receiveChanTimeout在 0.4.2 版本中有一个
receiveChanTimeout
http://hackage.haskell.org/packages/archive/distributed-process/0.4.2/doc/html/Control-Distributed-Process.html