Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: Intercepting and blocking Webpages Pin
Eran Aharonovich11-Jul-06 4:44
Eran Aharonovich11-Jul-06 4:44 
AnswerRe: Intercepting and blocking Webpages Pin
led mike11-Jul-06 5:22
led mike11-Jul-06 5:22 
AnswerCreate a proxy Pin
Ennis Ray Lynch, Jr.11-Jul-06 9:51
Ennis Ray Lynch, Jr.11-Jul-06 9:51 
AnswerProxy server Pin
Daniel Turini11-Jul-06 9:51
Daniel Turini11-Jul-06 9:51 
Questionlock() and Thread.Interrupt() Pin
Jon Hulatt11-Jul-06 0:37
Jon Hulatt11-Jul-06 0:37 
AnswerRe: lock() and Thread.Interrupt() [modified] Pin
Guffa11-Jul-06 1:01
Guffa11-Jul-06 1:01 
GeneralRe: lock() and Thread.Interrupt() Pin
Jon Hulatt11-Jul-06 3:11
Jon Hulatt11-Jul-06 3:11 
AnswerRe: lock() and Thread.Interrupt() Pin
Aaron Dilliard11-Jul-06 4:02
Aaron Dilliard11-Jul-06 4:02 
Just looking at your code (and I could be misunderstanding what you are trying to do here), but you are calling Thread.Sleep with a timeout of 100ms, which means if you dont interrupt it within 100ms of calling, then it wakes back up and resumes the code. If you interrupt the thread while it is waiting to aquire a lock then you will certainly get an exception (in this case unhandled). Perhaps specify an infinite timeout in the Sleep() method? That way it will stay in "stay asleep" until explicitly interrupted.

Aaron
AnswerRe: lock() and Thread.Interrupt() Pin
Judah Gabriel Himango11-Jul-06 4:48
sponsorJudah Gabriel Himango11-Jul-06 4:48 
AnswerRe: lock() and Thread.Interrupt() Pin
led mike11-Jul-06 5:12
led mike11-Jul-06 5:12 
QuestionQuestion about subtract Time in c# ( IDE 2005 ) Pin
Yanshof11-Jul-06 0:10
Yanshof11-Jul-06 0:10 
AnswerRe: Question about subtract Time in c# ( IDE 2005 ) Pin
Shajeel11-Jul-06 0:28
Shajeel11-Jul-06 0:28 
GeneralIts not working .Someone can help please ? Pin
Yanshof11-Jul-06 1:06
Yanshof11-Jul-06 1:06 
GeneralRe: Its not working .Someone can help please ? Pin
Christian Graus11-Jul-06 1:16
protectorChristian Graus11-Jul-06 1:16 
GeneralRe: Its not working .Someone can help please ? Pin
Sebastian Schneider11-Jul-06 1:27
Sebastian Schneider11-Jul-06 1:27 
GeneralRe: Its not working .Someone can help please ? Pin
Yanshof11-Jul-06 1:35
Yanshof11-Jul-06 1:35 
GeneralRe: Its not working .Someone can help please ? [modified] Pin
Shajeel11-Jul-06 1:42
Shajeel11-Jul-06 1:42 
GeneralRe: Its not working .Someone can help please ? Pin
J4amieC11-Jul-06 1:59
J4amieC11-Jul-06 1:59 
QuestionMono Pin
mehrdadc4811-Jul-06 0:08
mehrdadc4811-Jul-06 0:08 
AnswerRe: Mono Pin
Sebastian Schneider11-Jul-06 1:15
Sebastian Schneider11-Jul-06 1:15 
AnswerRe: Mono Pin
User 665811-Jul-06 4:37
User 665811-Jul-06 4:37 
GeneralRe: Mono Pin
User 171649211-Jul-06 5:30
professionalUser 171649211-Jul-06 5:30 
Questionadding custom menu items to axwebbrouser Context menu [modified] Pin
hari.la10-Jul-06 23:56
hari.la10-Jul-06 23:56 
AnswerRe: adding custom menu items to axwebbrouser Context menu Pin
Nick Parker11-Jul-06 3:43
protectorNick Parker11-Jul-06 3:43 
AnswerRe: adding custom menu items to axwebbrouser Context menu Pin
Jun Du11-Jul-06 4:40
Jun Du11-Jul-06 4:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.