Browse by Tags

Tagged Content List
  • Blog Post: Which managed memory model?

    In this article , Vance Morrison describes some of the issues involved in writing managed multithreaded code that avoids the use of locks. In particular, he discusses the impact of memory models on lock-free (or low-lock) programming. For managed code running on the CLR, there are two models that matter...
  • Blog Post: Fun programming problem: a simple lock-free algorithm

    Can the program below ever print “oops?” #include <stdio.h> #include <process.h> struct Globals { volatile int start; int a; int b; volatile int end; }; Globals globals; void WriterThread( void *) { int i = 0; while ( true ) { globals.start...
Page 1 of 1 (2 items)