General information
Category:
COM/DCOM and OLE Automation
Thanks Rick. VFP's SYS(2336) seems to be fine for my needs. I was just very curious regarding how VFP does it so that I wouldn't write code based on assumptions that were wrong. (Keeping in mind, of course, that just because my assumption is right doesn't mean my code will be).
>Mark,
>
>I'm pretty sure there's only one global CS structure involved. Otherwise this single function wouldn't work.
>
>CS objects can be nested but it gets tricky with lock counts revving and hte potential for deadlocks going up drastically. It's best to keep critical sections to short, short blocks.
>
>But if you really need multiple CS objects why not make an API call to the 4 CriticalSection APIs? (actually it's probably easiest to do this in C code via DLL or FLL)
>
>+++ Rick ---
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only