Cover page by Cay S. Horstmann

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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, ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required