[SDL] Multi-processor

Carlos Vrancken cvrancken at mailcan.com
Tue Aug 31 09:32:28 PDT 2004


Thanks, Ryan.

Yes, I'll have to use multiple CPUs. It's a research project, with lots of image processing power required. I'll probably be using a four processor array.

One more question. I don't see in the SDL API any function to connect a thread to a specific processor. 

Is that done automatically...?

Carlos
  ----- Original Message ----- 
  From: Ryan C. Gordon 
  To: A list for developers using the SDL library. (includes SDL-announce) 
  Sent: Tuesday, August 31, 2004 11:15 AM
  Subject: Re: [SDL] Multi-processor



  > Is multi-threading the way to go?

  If you want to use multiple CPUs, it's the only way to go.

  You have to decide if this is worth the added complexity to your code;
  in many cases, it is not. Doubly so when you consider that in this day,
  lots of people still don't have multiple CPUs. Hyperthreading and all
  this talk about Dual Cores will change that in the near future, though.

  --ryan.




  _______________________________________________
  SDL mailing list
  SDL at libsdl.org
  http://www.libsdl.org/mailman/listinfo/sdl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040831/146231b8/attachment.htm>


More information about the SDL mailing list