Summary

Multithreading provides an elegant way to achieve concurrency in connection-oriented network applications. It is unfortunate that the Perl implementation is not entirely reliable and that the API is subject to change.

Perl 6 is expected to provide robust multithreading, and although the API will likely be different in detail from what is presented here, the basic concepts of thread creation, destruction, and locking will not change.

Get Network Programming with Perl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.