Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reader/Writer Locks in VB6

Status
Not open for further replies.

oxenberg

Programmer
Jul 1, 2002
28
0
0
US
I'm trying to implement reader/writer locks in VB6. Does anyone have any code that does this? I found some sample C++ code at that I have converted into VB. However, my thread needs to take out both a read and a write lock and which in this implementation requires that the thread wait on an event twice, once for the readlock and once for the writelock. As a result, the thread cannot acquire both locks using this implementation. Anyway, if someone has already done and would like to share....

Thanks in any event.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top