Hi Cetin,
>>I am need of limiting access to some methods in a class to a single case. I am looking at the use of Mutex but it seems to have some limitations. First if the same thread calls the method twice it would be allowed. This doesn't work for me since all calls to the methods would be coming from the main application thread. Does anybody have any ideas on this?
>>
>>My class contains several methods that send commands over the serial port. I need to block any additional commands until the serial port responds to the first command. Is there such a thing as a Queue?
>>
>>Thanks
>>Tim
>
>Maybe Queue class could help.
>Cetin
hmmm.. I had not run into this class before and at first glance seems interesting. The example is pretty lame in the help file, so I will search out a fuller explanation for its use. It does appear to have some thread safety issues also.
Thanks
Tim
Timothy Bryan