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