[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Local synchronization in windows process (critical section)

  • Thread starter Thread starter PhilF
  • Start date Start date
Status
Not open for further replies.
P

PhilF

Guest
I see you're way ahead of me. Also that I had forgotten key aspects of your request by the time I answered it. Sorry! There are slightly smaller O/S-based hammers you can use, like sockets or named pipes (or even INPUT-OUTPUT THROUGH) .There is also Progress PUBLISH/SUBSCRIBE. I have my doubts as to whether any of these would meet your needs for reliability and speed, but I have never tested them in that way. They would also require some careful thought if you are trying to synchronize more than 2 threads at once -- though it shouldn't be too hard to make it work. I suspect that David Abdala is right, and that a call to the O/S is probably what you need. Though even for production I think you could encapsulate the calls into a Progress subroutine instead of creating an external program. If you are ambitious, you could even link the necessary calls directly into the Progress executable as new commands, but I don't see why you would want to. :-) Best of luck. I'm curious to hear what solution you eventually arrive at.

Continue reading...
 
Status
Not open for further replies.
Back
Top