It is currently Wed Sep 08, 2010 6:10 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Running SDL in secondary thread
PostPosted: Mon May 17, 2010 4:10 pm 
Joined: Tue May 11, 2010 2:07 pm
Posts: 3

Is it possible to run an SDL window in a secondary thread? The code would include the SDL_init, events and drawing.
I do not seem to be able to get it to work.
Thanks.


Offline
 Profile  
 Post subject: Re: Running SDL in secondary thread
PostPosted: Tue May 18, 2010 10:11 am 
Site Admin
Joined: Tue Oct 28, 2008 9:55 am
Posts: 185
Location: Indiana

I can't imagine that working very well, if at all. Rendering is almost always restricted to the primary thread. You would, if you wanted, run other things in secondary threads - but that probably will also cause headaches.


Offline
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: