LIST.LOCKS

LIST.LOCKS

Top  Previous  Next

 

The LIST.LOCKS command reports the state of the 64 system wide task locks.

 

 

Format

 

LIST.LOCKS

 

 

The LIST.LOCKS command displays a table of locks showing the user number of the process holding each of the 64 task locks where appropriate. The displayed user number is followed by an asterisk if it is the process from which the LIST.LOCKS command was executed.

 

 

Examples

 

LIST.LOCKS

0:      1:      2:      3:      4:      5:      6:      7: 1*

8:      9:     10:     11:     12:     13:     14:     15:

16:     17:     18:     19: 3   20:     21:     22:     23:

24:     25:     26:     27:     28:     29:     30:     31:

32:     33:     34:     35:     36:     37:     38:     39:

40:     41:     42:     43:     44:     45:     46:     47:

48:     49:     50:     51:     52:     53:     54:     55:

56:     57:     58:     59:     60:     61:     62:     63:

 

 

This example shows the display when task locks 7 and 19 are in use. Lock 7 is held by user 1 who also issued the LIST.LOCKS command. Lock 19 is held by user 3.

 

 

LIST.LOCKS

No task locks reserved by any user

 

In this example, there are no task locks in use.

 

 

See also:

CLEAR.LOCKS, LIST.LOCKS, LOCK (command), LOCK (QMBasic), UNLOCK