Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

synchronization parameter in lock object

Former Member
0 Likes
1,029

what if we give initial value to this parameter ,the lock deleted asynchronously ,

i am not getting the meaning of asynchronously

2 REPLIES 2
Read only

Former Member
0 Likes
885

Hi

The DEQUEUE function module has the parameter _SYNCHRON.

If X is passed, the DEQUEUE function waits until the entry has been removed from the lock table. Otherwise it is deleted asynchronously, that is, if the lock table of the system is read directly after the lock is removed, the entry in the lock table may still exist.

Regards,

Suruchi

Read only

0 Likes
885

hi,suruchi

i m asking

if lock is deleted asynchronously, that is, if the lock table of the system is read directly after the lock is removed, the entry in the lock table may still exist.

Consider a scenario if we delete the lock ansynchronously is the lock deleted,

or some time later if some other user wants to use the same lock object they

can lock it or not?or what are the disadvantage of deleting lock asynchronously?

Thanks for response