transactional-memory
A way to form a 'select' on MVars without polling
I have two MVars (well an MVar and a Chan).I need to pull things out of the Chan and process them until the other MVar is not empty any more.My ideal solution would be something like the UNIX select f[详细]
2023-03-02 21:32 分类:问答How to add a finalizer on a TVar
Background In response to a question, I built and uploaded a bounded-tchan (wouldn\'t have been right for me to upload jnb\'s version).If the name isn\'t enough, a bounded-tchan (BTChan) is an STM ch[详细]
2023-02-20 13:52 分类:问答How does Clojure STM differ from Haskell STM?
I am trying to find the differences between wh开发者_开发知识库at Clojure calls an STM and what is implemented in Haskell as STM. Taking the actual language semantic differences aside I am a little co[详细]
2023-02-01 12:58 分类:问答What algorithms are used in Clojure, Haskell (and other languages) for STM?
As I understand there are several different algorithms for implementing Software Transactional Memory (and this is a quite active research area).[详细]
2023-01-27 09:35 分类:问答Is Software Transactional Memory the same as database transactions?
I have read alot about Software Transactional Memory, especially in relation to Haskell but I am trying to figure how it is different from database transactions? Are there some advantage开发者_JS百科s[详细]
2022-12-24 06:46 分类:问答How to make Haskell's TChan defer messages like Erlang's message queues can?
Consider the following Erlang code: -module(testit). -export([testit/0]). testit() -> Pid = spawn(fun testit_proc/0),[详细]
2022-12-20 01:52 分类:问答索尼应从三星身上借鉴哪些经验??
11月28日,作为业务竞争激烈的对手,三星集团和索尼面临着许多类似的问题:业务延伸时间过长,缺乏改变市场结构的产品,企业结构等级森严,在国人心中地位高傲等。然而,三星集团正在表明,即使规模巨大,它也能迅速[详细]
2022-12-19 14:46 分类:问答What will it take for Transactional Memory to be viable?
I\'ve been doing some work on transactional memory and its viability for systems programming (databases, operating systems, servers, etc.). My own experience employing transactions, together with havi[详细]
2022-12-12 03:36 分类:问答