I think there is a big problem with programming languages in the era of parallel programming, here is the problem
19 views
Skip to first unread message
amin...@gmail.com
unread,
Jan 19, 2020, 8:06:19 PM1/19/20
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello,
We have to be more smart, and i think there is a big problem
with programming languages in the era of parallel programming,
here is the problem:
"However under x86-TSO, the stores are cached in the store buffers,
a load consult only shared memory and the store buffer of the given thread, wich means it can load data from memory and ignore values from
the other thread."
So i think that programming languages are not designed correctly,
because the variables that are not local and that are created in the main thread has to be local to the main thread and not accessible
by the other threads, and they have to be passed to the other threads with for example a queue that has to issue a memory barrier to flush
the store buffer to be able to solve the above safety problem.
Thank you,
Amine Moulay Ramdane.
Chris M. Thomasson
unread,
Jan 19, 2020, 8:14:38 PM1/19/20
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message