Sign In
Eric Eilebrecht's blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Concurrency
Managed
Memory Models
ThreadPool
Unmanaged
Archive
Archives
September 2010
(1)
June 2009
(1)
April 2009
(1)
November 2008
(1)
June 2008
(1)
May 2008
(2)
March 2008
(2)
November 2007
(2)
October 2007
(1)
March 2007
(1)
October, 2007
MSDN Blogs
>
Eric Eilebrecht's blog
>
October, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Eric Eilebrecht's blog
Fun programming problem: a simple lock-free algorithm
Posted
over 5 years ago
by
Eric Eilebrecht - MSFT
3
Comments
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 *)...
Page 1 of 1 (1 items)