Quantcast
Channel: Are memory fences required here? - Stack Overflow
Browsing index pages (2 articles)
↧

Are memory fences required here?

Consider this code (extracted from Simple-Web-Server, but knowledge of the library shouldn't be necessary to answer this question):HttpServer server;thread server_thread;server.config.port =...

View Article


Answer by Sam Varshavchik for Are memory fences required here?

30.3.1.2 thread constructorstemplate <class F, class ...Args> explicit thread(F&& f, Args&&... args);Synchronization: The completion of the invocation of the constructor...

View Article

Browsing index pages (2 articles)


Latest Images