Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

LockDosList

Locks the specified Dos Lists for use

Declaration

Source position: amigados.pas line 2548

function LockDosList(

  Flags: LongWord

):PDOSList;

Arguments

Flags

  

what lists to lock

Function result

Handle to the dos list. This is not a direct pointer to the first list element but to a pseudo element instead.

Description

Waits until the desired dos lists are free then gets a lock on them. A handle is returned that can be used for FindDosEntry(). Calls to this function nest, i.e. you must call UnLockDosList() as often as you called LockDosList(). Always lock all lists at once - do not try to get a lock on one of them then on another.

See also

AttemptLockDosList

  

Attempt to lock the Dos Lists for use

UnLockDosList

  

Unlocks the Dos List

exec.Forbid

  

Forbid task scheduling.

NextDosEntry

  

Get the next Dos List entry


Documentation generated on: 2021-07-30