Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Worker thread pool and task scheduling in SFML 2.0  (Read 2522 times)

0 Members and 1 Guest are viewing this topic.

Klaim

  • Full Member
  • ***
  • Posts: 137
    • View Profile
Worker thread pool and task scheduling in SFML 2.0
« on: July 25, 2011, 01:40:38 pm »
For learning purpose, I'm planning to write a more complete variant of this game (made with SFML but incomplete) but in a fully parallellized way.

At the moment I think I'll use Inter Threading Building Blocks to make sure everything is portable, with SFML of course.

Now, as SFML provide thread interfaces, I was asking myself if you would go as far as to provide a basic implementation of task scheduling in the future?

As SFML don't provide it yet, I'm still wanting to use TBB but maybe I missed something?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Worker thread pool and task scheduling in SFML 2.0
« Reply #1 on: July 25, 2011, 01:46:24 pm »
SFML is not a threading library, it provides only the minimum features that it internally needs -- threads, mutex and nothing more ;)
Laurent Gomila - SFML developer

Klaim

  • Full Member
  • ***
  • Posts: 137
    • View Profile
Worker thread pool and task scheduling in SFML 2.0
« Reply #2 on: July 25, 2011, 02:21:17 pm »
So my guess is right that you'll certainly never support more higher abstractions.

It seem reasonable to me, so I guess ITBB is really my only option.

Thanks!

 

anything