MUD-Dev
mailing list archive

[ Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

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



[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



[ Other Periods  | Other mailing lists  | Search  ]