SFML community forums

General => Feature requests => Topic started by: Hoff on January 18, 2009, 07:22:27 am

Title: Threading primitives
Post by: Hoff on January 18, 2009, 07:22:27 am
It would be nice to have an "Event" threading primitive in addition to Mutex and Lock. Without something like Event it's hard to efficiently implement a producer/consumer queue and several other nice things.

-- John
Title: Threading primitives
Post by: Laurent on January 18, 2009, 01:05:32 pm
Well, if you need such advanced threading primitives you can use a more complex library, like boost.thread.
Title: Threading primitives
Post by: Hoff on January 19, 2009, 07:43:45 pm
Yeah, okay. I just figured with Thread and Mutex we're already 90% of the way there.