Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Multitasking in Win32

This topic is 6179 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

HI all, I''m working with multitasking for some time, but what i have is really basic, just create and trash the thread, so, whre can I find more info on multithreading? Thanx all, Hugo Ferreira UniteK Future "Concentrate, and you can see it. If you see it, then it is possible. If it is possible, you can Achieve it."

Share this post

Link to post
Share on other sites
It is not an easy topic. (Yoda tone : Oh, yesss, you WILL have deadlocks. )

"Multithreading in Win32" ed. O''Reilly & Associates

"Pthreads Programming" ed. O''Reilly & Associates
Describes the use of the POSIX thread library

"Multithreaded programming in C++" ed. Springer-Verlag
Describes and implement a whole c++ multithreading library, based on win32 threads or pthreads.

Online: google search

As to how it relates to OpenGL... I am near-certain that OpenGL is not thread-safe : for performance reasons, you want to send data as fast as possible to the graphics hardware, so you don''t want to pay for synchronization every time when you have a single thread of execution. Therefore, you definitely don''t want to call GL routines from several threads simultaneously. Which calls for mutexes.

Share this post

Link to post
Share on other sites
"Programming Applications for Windows" by Jeffrey Richter (Microsoft Press).

It''s an excellent book which goes into detail about how the thread and process synchronisation of Windows actually works as well as details on many other topics (the memory manager, DLLs etc). Older editions used to be called "Advanced Windows"

Simon O''''Connor
Creative Asylum Ltd

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!