transactional-memory Questions
3
There's a new experimental feature (probably C++20), which is the "synchronized block". The block provides a global lock on a section of code. The following is an example from cppreference.
#inclu...
Achromatic asked 3/8, 2017 at 14:28
5
After reading Anandtech on 'Haswell TSX' (tranactional memory barriers) I immediately wondered if CLR/JVM will be able to make use of these in C#/Java/Scala/F# for heavily parallel applications (C#...
Schiff asked 7/12, 2012 at 6:21
5
Solved
I was checking out Intel's "whatif" site and their Transactional Memory compiler (each thread has to make atomic commits or rollback the system's memory, like a Database would).
It seems like a p...
Ambo asked 17/9, 2008 at 12:20
0
One of the proposed features for C++20 is transactional memory.
What is it? Is it going to simplify multithreaded programming in C++?
Keratoid asked 21/2, 2018 at 21:47
1
I'm experimenting with the tsx extensions in haswell, by adapting an existing medium-sized (1000's of lines) codebase to using GCC transactional memory extensions (which indirectly are using haswel...
Quickel asked 6/5, 2015 at 6:49
1
Solved
What is the transactional memory in comparison to actor-based and lock-based synchronization?
As far as I understand it is another mechanism of concurrency control. Or it is something completely ...
Skiba asked 24/1, 2017 at 13:45
3
I'm confused because from reading the wiki page it seems like just having a checkValidate and commit system for loads and stores. Is the purpose to solve synchronization problems? Is it a software ...
Vedda asked 29/6, 2012 at 3:23
2
Solved
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 sel...
Bacteria asked 4/5, 2011 at 5:48
4
Solved
One of the major advantages of software transactional memory that always gets mentioned is composability and modularity. Different fragments can be combined to produce larger components. In lock-ba...
Bugaboo asked 1/4, 2011 at 20:33
1
Solved
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 c...
Circumscription asked 27/3, 2011 at 1:0
3
Solved
I am trying to find the differences between what Clojure calls an STM and what is implemented in Haskell as STM. Taking the actual language semantic differences aside I am a little confused as Rich...
Cy asked 30/12, 2010 at 6:47
3
Solved
As I understand there are several different algorithms for implementing Software Transactional Memory (and this is a quite active research area).
Where can I find (without having to dive into sourc...
Ratafia asked 27/11, 2010 at 17:19
3
Solved
This is just a hypothetical scenario to illustrate my question. Suppose that there are two threads and one TVar shared between them. In one thread there is an atomically block that reads the TVar a...
Blaeberry asked 13/6, 2010 at 10:28
2
Solved
I am in the design phase of a programming language, currently thinking about the concurrency aspects. I need to figure out a consistency model, i.e. how data is handled by concurrent processes prog...
Macrobiotic asked 9/5, 2009 at 15:27
3
Solved
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 advantages I do not ...
Seawards asked 22/3, 2010 at 20:54
1
Consider the following Erlang code:
-module(testit).
-export([testit/0]).
testit() ->
Pid = spawn(fun testit_proc/0),
Pid ! final,
Pid ! one,
Pid ! two,
io:format("Root finished~n").
tes...
Extracurricular asked 16/2, 2010 at 3:45
1
© 2022 - 2024 — McMap. All rights reserved.