What t开发者_如何学Gohread synchronization mechanisms are available in VB6?
None natively, If you do threading in VB6, you'll iether have to make heavy use of the threading Windows API functions (for good info on this see Dan Applemans books or the Matthew Curland book "Power Techniques for Everyday Programmers")
You can also do threading via COM via timers and COM apartment threading, but that also requires quite a bit of framework code, and even then, you still have to code the synch functionality yourself.
There are no built-in thread synchronization mechanisms - use Win32 API calls to access built-in windows synchronization mechanisms. See this example
精彩评论