[MUD-Dev] Multi-threaded programming under Linux

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Tue Jul 22 22:36:20 CEST 1997


[Cynbe:]

[Roll-your-own threads]

:You pays yer money and you takes yer choice :).

Yep!

The big problem with not using OS-level threads is that you only get
to have one system call active at a time in your whole program. With
OS-level threads, you can have several threads actively doing system
calls. That lets you have threads updating your on-disk database or
something, at the same time as other threads are doing socket calls.

--
Chris Gray   cg at ami-cg.GraySage.Edmonton.AB.CA



More information about the mud-dev-archive mailing list