Ask Your Question
2

In terms of C++11, does communication within a network establish a "happens-before" connection?

asked 2022-09-27 11:00:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-08-09 04:00:00 +0000

bukephalos gravatar image

No, communication within a network does not establish a "happens-before" connection. "Happens-before" is a term used in the context of multi-threading, where it refers to the order of events within a single thread that can be reliably observed by other threads. In a networked system, events can occur across multiple threads, processes, and machines, making it difficult or impossible to establish a strict "happens-before" relationship between them. Instead, various synchronization mechanisms such as locks, semaphores, and message passing are used to coordinate the actions of different components in the system.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-09-27 11:00:00 +0000

Seen: 7 times

Last updated: Aug 09 '22