JistSid: Now Ive done a 'quick' readthrough of your post, but is using mutex's necessary? (in this situation anyway)
Read my above reply to HeelX and you'll see my more exact needs.
TO MY MIND, by using the status-flags embedded in the data-area, I am really creating a 'different' mutual-exclusion system.
I prefer mine cause the original GS thread can see the states easily too. It needs to react according to those statuses.
Note this is only from a QUICK read-through. Im now moving on to a PROPER reading.
[EDIT] I now have a better understanding, but still dont see a need for mutex's. Feel free to argue though...
Im in the midst of uilding a semi-functional example to test with. I'll post it when Im finished it, or stuck.
Question: You suggested using fopen fclose, etc. I was going to use the CreateFile API and its fellows. Any reasons against?
And thanks guys. Any input is good input. Or so my missus says. But she lies alot...
Last edited by EvilSOB; 10/04/11 06:04. Reason: edited in extra notes and a question