reply........

R

raghav

hi
is multhreading possible with VC++ how should i do it is there any
sample program for dat.....im currently working with VC++ 6.0 and tryin
to implement concurrent insertions in a tree structure how to perform
usin the thread concept in VC++ any codin example plz fwd........

thanks in advance......
 
M

mlimber

raghav said:
is multhreading possible with VC++ how should i do it is there any
sample program for dat.....im currently working with VC++ 6.0 and tryin
to implement concurrent insertions in a tree structure how to perform
usin the thread concept in VC++ any codin example plz fwd........

Threads are not available in standard C++ at present (for what may
happen in the future, see
http://artima.com/cppsource/threads_meeting.html).

You may use a platform-dependent solution like pthreads (ask in
comp.programming.threads), MFC CWinThread (ask in
microsoft.public.vc.mfc or similar), the more portable Boost.Threads
(see docs at http://boost.org/doc/html/threads.html and explanation and
examples at http://www.ddj.com/dept/cpp/184401518), or something else.

Cheers! --M
 
?

=?iso-8859-1?q?Erik_Wikstr=F6m?=

hi
is multhreading possible with VC++ how should i do it is there any
sample program for dat.....im currently working with VC++ 6.0 and tryin
to implement concurrent insertions in a tree structure how to perform
usin the thread concept in VC++ any codin example plz fwd........

This is off-topic here, check the following link for suggestions where
your question might be answered:
http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9

By the way, concurrent insertions in a tree will probably not be
possible if the tree is ordered in some way.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top