Thread Programming
is there a lib(or something) for thread programming in console windows applications? Can i explicit organize threads in windows programming?
if (ansi c++ && windows.h)
whooraay!!
else
ok, lets do those cheats.
Look up "dlls, processes and threads" in MSDN. CreateThread and _beginthreadex start new threads, go from there.
Boost''s threading library is pure C++.
It can deal with member functions and stuff.
Right now, it provides the fundamental building blocks :
- threads (can call a function or a function object)
- thread groups
- mutexes & scoped locking
- condition variables
- thread-specific storage
- ''once'' functions.
Be sure to follow the instructions as to how to build the library though. It can be tricky (especially as you hunt for the actual output files).
Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
It can deal with member functions and stuff.
Right now, it provides the fundamental building blocks :
- threads (can call a function or a function object)
- thread groups
- mutexes & scoped locking
- condition variables
- thread-specific storage
- ''once'' functions.
Be sure to follow the instructions as to how to build the library though. It can be tricky (especially as you hunt for the actual output files).
Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
i can email you my Thread wrapper. Its a basic one, but
you can mess arround with it, and play a bit with it, and
learn.
Threads are not that dificult... you''ll see
you can mess arround with it, and play a bit with it, and
learn.
Threads are not that dificult... you''ll see
[Hugo Ferreira][Positronic Dreams][Stick Soldiers]
"Redundant book title: "Windows For Dummies".
"Camouflage condoms: So they won''t see you coming".
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement