O'Reilly logo

Microsoft® Windows® Workflow Foundation Step by Step by Kenn Scribner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the SynchronizationScope Activity

Anyone who has ever written multithreaded applications knows that thread synchronization is a critical topic. The task scheduler, which is used by modern Windows operating systems to control thread execution on the CPU, can pull an executing thread out at any time, even in the middle of critical operations if you’re not careful. I myself had a multithreading bug in the early sample applications for this book. (Many thanks to Scott Seely for catching this lazy programmer in the act!)

There are many multithreaded tools available to you when writing Windows-based applications–the mutex, the kernel event, critical sections, semaphores, and more. But in the end, two things must be controlled: completion of critical ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required