Showing archive results for July 27, 2009

Jul 27, 2009
Post comments count0
Post likes count0

Conway-Kochen Free Will Theorem: Lecture series

Raymond Chen
Raymond Chen

Some time ago, there was a bit of excitement when researchers John H. Conway (best known to geeks as the inventor of The Game of Life, a Turing-complete cellular automaton) and Simon Kochen (best known to geeks as, um, okay, he's not known to geeks) concluded that if human beings have free will, then so too do elementary particles. In 2009,...

Non-Computer
Jul 27, 2009
Post comments count0
Post likes count0

Polling by sleeping versus polling by waiting with a timeout

Raymond Chen
Raymond Chen

Commenter Francois Boucher asks it's better to write a background worker thread that polls with and a flag, or polls by waiting for an event with a timeout? "Which scenario is better? The first one uses only 1 handle for the thread. The second one will use 2. But is the first scenario wasting more thread time? Is it worth using the event (ker...

Code