[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

2645: Re: [MUD-Dev] Multi-threaded programming under Linux

[Full Header] [Plain Text]
From: "Chris Gray" <cg@ami-cg.GraySage.Edmonton.AB.CA>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 22 Jul 97 22:36:20 MST
Organization: Kanga.Nu
[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@ami-cg.GraySage.Edmonton.AB.CA