O'Reilly logo

Scala for the Impatient by Cay S. Horstmann

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

Chapter 20. Actors

Topics in This Chapter image

20.1 Creating and Starting Actors — page 290

20.2 Sending Messages — page 291

20.3 Receiving Messages — page 292

20.4 Sending Messages to Other Actors — page 293

20.5 Channels — page 294

20.6 Synchronous Messages and Futures — page 295

20.7 Thread Sharing — page 296

20.8 The Actor Life Cycle — page 299

20.9 Linking Actors — page 300

20.10 Designing with Actors — page 301

Exercises — page 302

Actors provide an alternative to the traditional lock-based architecture of concurrent programs. By avoiding locks and shared state, actors make it easier to design programs that work correctly, ...

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