471,350 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Thread cancelleton (backgroundworker)

Hello,
I am using the background worker and want to provide to thread which is
activated by background worker option to check if cancelletion is legal
or not during the flow.
How can I affect the activation of bw.CancelAsync() which is made in
main thread from the thread runned by background worker?
Thank u!

*** Sent via Developersdex http://www.developersdex.com ***
Jun 27 '08 #1
1 926
Hello csharpula,

See this sample http://www.codeproject.com/KB/cpp/Ba...r_Threads.aspx
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
ccHello,
ccI am using the background worker and want to provide to thread which
ccis
ccactivated by background worker option to check if cancelletion is
cclegal
ccor not during the flow.
ccHow can I affect the activation of bw.CancelAsync() which is made in
ccmain thread from the thread runned by background worker?
ccThank u!
cc*** Sent via Developersdex http://www.developersdex.com ***
cc>
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post: by
8 posts views Thread by Analizer1 | last post: by
5 posts views Thread by =?Utf-8?B?anAybXNmdA==?= | last post: by
9 posts views Thread by Pubs | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.