Re: Getting started with threads in D

2012-06-22 Thread Sean Kelly
On Jun 22, 2012, at 11:17 AM, Henrik Valter Vogelius Hansson wrote: > > Aight been reading a lot now about it. I'm interested in the TaskPool but > there is a problem and also why I have to think about threads. OpenGL/DirectX > contexts are only valid for one thread at a time. And with the task

Re: Getting started with threads in D

2012-06-22 Thread Henrik Valter Vogelius Hansson
On Sunday, 17 June 2012 at 07:23:38 UTC, Russel Winder wrote: On Sun, 2012-06-17 at 03:15 +0200, Henrik Valter Vogelius Hansson wrote: Hi again! I have looked around a little with what D offers but don't know really what I should use since D offers several ways to use threads. Some more high

Re: Getting started with threads in D

2012-06-17 Thread Russel Winder
On Sun, 2012-06-17 at 03:15 +0200, Henrik Valter Vogelius Hansson wrote: > Hi again! > > I have looked around a little with what D offers but don't know > really what I should use since D offers several ways to use > threads. Some more high level than others. Don't really also know > which one

Re: Getting started with threads in D

2012-06-16 Thread Jonathan M Davis
On Sunday, June 17, 2012 03:15:44 Henrik Valter Vogelius Hansson wrote: > Hi again! > > I have looked around a little with what D offers but don't know > really what I should use since D offers several ways to use > threads. Some more high level than others. Don't really also know > which one woul

Getting started with threads in D

2012-06-16 Thread Henrik Valter Vogelius Hansson
Hi again! I have looked around a little with what D offers but don't know really what I should use since D offers several ways to use threads. Some more high level than others. Don't really also know which one would be suitable for me. A little background could help. I am a game developer an