[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread safety in games



Magnus Norddahl schrieb:
> Yup, this is also the way ClanLib's internal threads communicate. The
> external interface to ClanLib however is single threaded - and I believe it
> should stay that way. All display, sound and network threads should belong
> to the libs used by the game.

Not sure what you mean - I assume you mean that ClanLib methods
are not thread-safe, right?  i.e. only one of the game's threads
should be calling the ClanLib routines at a time?
- Dan
-- 
Speaking only for myself, not for my employer