Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FLOCK() and RLOCK() differences
Message
 
 
To
12/09/2003 11:13:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00828484
Message ID:
00828529
Views:
19
Hi Fabio,

My tests show that RLOCK('0') kills FLOCK() so there's nothing to release.

>Thanks Sergey,
>- EXCLUSIVE get exclusive full RW
>- FLOCK() get exclusive INSERT/UPDATE/DELETE
>- RLOCK('0') get exclusive INSERT ( lock RECCOUNT() )
>- RLOCK('n1,n2,') get exclusive UPDATE/DELETE for a record list.
>
>But if i do ( :
>
>FLOCK()
>....
>RLOCK('0')
>* now i want release FLOCK() but maintain the exclusive on insert ?
>* what I write? UNLOCK ????
>
>
>Fabio
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform