Re: A little threading problem

From: Alban Hertroys (alban_at_magproductions.nl)
Date: 12/02/04


Date: Thu, 02 Dec 2004 12:57:03 +0100
To: Jeremy Jones <zanesdad@bellsouth.net>

Jeremy Jones wrote:
> (not waiting, because it already did happen). What is it exactly that
> you are trying to accomplish? I'm sure there is a better approach.

I think I saw at least a bit of the light, reading up on readers and
writers (A colleague showed up with a book called "Operating system
concepts" that has a chapter on process synchronization).
It looks like I should be writing and reading 3 Queues instead of trying
to halt and pause the threads explicitly. That looks a lot easier...

Thanks for pointing out the problem area.



Relevant Pages

  • Re: How to determine integer values in a txt file?
    ... the fixed header, skip 2 bytes and read the 5th byte to determine how many ... The problem boils down to one of positioning and then reading - how it can ... the stream then the task is easy - just read the header in! ... really, quite easy to accomplish. ...
    (comp.lang.java.programmer)
  • Re: 4 weeks...Already?
    ... I am glad I decided to buy the second pack and continue on it. ... whatever it is you do after reading here, ... One thing I absolutely hate is waiting in line and it's ... feeling grateful feels good and soothes the soul. ...
    (alt.support.stop-smoking)
  • Re: Yellow lines
    ... signifying 'no waiting at all' and the double as 'no waiting at all, ... restrictions applied and thought double lines meant no parking ever. ... Rather the same as bus lanes - many seem incapable of reading when they ... To e-mail, change noise into sound. ...
    (uk.rec.cars.classic)
  • Re: Need advice re incident in doctors office as patient
    ... wonderful opportunity to do some reading. ... You can bet if the doctor was made ... Hours waiting - not. ... Depends on the specialty. ...
    (sci.med.transcription)
  • Re: WWWOT: Harry Potter and the Deathly Hallows (NO spoilers)
    ... Rose...I had no idea you were on RAM.....how the heck did I miss that!! ... [to email remove the knot] ... | just reading the last page. ... I'm still waiting for mine to be delivered. ...
    (rec.arts.mystery)