Click here to Skip to main content
15,895,740 members
Home / Discussions / C#
   

C#

 
AnswerRe: icon Pin
Luc Pattyn28-Jun-07 6:05
sitebuilderLuc Pattyn28-Jun-07 6:05 
AnswerRe: icon Pin
Giorgi Dalakishvili28-Jun-07 6:14
mentorGiorgi Dalakishvili28-Jun-07 6:14 
QuestionThroughput/Design Problem Pin
tobriain28-Jun-07 5:05
tobriain28-Jun-07 5:05 
AnswerRe: Throughput/Design Problem Pin
Pete O'Hanlon28-Jun-07 5:11
mvePete O'Hanlon28-Jun-07 5:11 
AnswerRe: Throughput/Design Problem Pin
led mike28-Jun-07 5:14
led mike28-Jun-07 5:14 
GeneralRe: Throughput/Design Problem Pin
tobriain28-Jun-07 5:37
tobriain28-Jun-07 5:37 
GeneralRe: Throughput/Design Problem Pin
led mike28-Jun-07 6:25
led mike28-Jun-07 6:25 
GeneralRe: Throughput/Design Problem Pin
tobriain28-Jun-07 6:41
tobriain28-Jun-07 6:41 
Thanks again for the help.

It's not the end goal, no. I set variables, do some processing and comparisons based on the updates, fir events, update a GUI, save a log etc. Everything after that is working perfectly. Once the variables are set with the updates, my application works as expected. The only problem is that I'm dropping updates. I'm collecting a value from an 'intray' in an external program - an intray that only has space to store one update. I need a thread that does nothing but collect updates, throw them onto a queue and return immediately.

Then I need to nofify a method that updates are on the queue, and get it to remove the updates in order, set variables accordingly and clear the queue. The problem is that I need to do that without 'locking the queue', because then my other thread will not return to collecting data from the external program in time. . . . Any ideas?

Best regards,

Tom.
GeneralRe: Throughput/Design Problem Pin
pbraun28-Jun-07 11:26
pbraun28-Jun-07 11:26 
GeneralRe: Throughput/Design Problem Pin
tobriain28-Jun-07 11:34
tobriain28-Jun-07 11:34 
GeneralRe: Throughput/Design Problem Pin
tobriain2-Jul-07 9:36
tobriain2-Jul-07 9:36 
GeneralRe: Throughput/Design Problem Pin
pbraun3-Jul-07 5:48
pbraun3-Jul-07 5:48 
GeneralRe: Throughput/Design Problem Pin
tobriain28-Jun-07 6:43
tobriain28-Jun-07 6:43 
GeneralRe: Throughput/Design Problem Pin
led mike28-Jun-07 7:00
led mike28-Jun-07 7:00 
Questionthe underscore character in front of a variable Pin
brsecu28-Jun-07 4:54
brsecu28-Jun-07 4:54 
AnswerRe: the underscore character in front of a variable Pin
Luc Pattyn28-Jun-07 4:56
sitebuilderLuc Pattyn28-Jun-07 4:56 
JokeRe: the underscore character in front of a variable Pin
CPallini28-Jun-07 5:14
mveCPallini28-Jun-07 5:14 
QuestionFileSystem based Collection (Queue) Pin
BaraMustafa28-Jun-07 4:53
BaraMustafa28-Jun-07 4:53 
AnswerRe: FileSystem based Collection (Queue) Pin
DanB198328-Jun-07 11:23
DanB198328-Jun-07 11:23 
AnswerRe: FileSystem based Collection (Queue) Pin
pbraun28-Jun-07 11:47
pbraun28-Jun-07 11:47 
QuestionWord.ApplicationClass Pin
Civic0628-Jun-07 4:44
Civic0628-Jun-07 4:44 
AnswerRe: Word.ApplicationClass Pin
Luc Pattyn28-Jun-07 4:54
sitebuilderLuc Pattyn28-Jun-07 4:54 
QuestionHow does non-blocking file access work? Pin
martin_hughes28-Jun-07 4:30
martin_hughes28-Jun-07 4:30 
AnswerRe: How does non-blocking file access work? Pin
Luc Pattyn28-Jun-07 5:02
sitebuilderLuc Pattyn28-Jun-07 5:02 
GeneralRe: How does non-blocking file access work? Pin
martin_hughes28-Jun-07 7:17
martin_hughes28-Jun-07 7:17 

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.