company logo

Application :: lock - Lock application

The function waits until the application becomes available. There is no timeout, i.e. the function may lead to dead lock situations when being used improperly.

Implementation details

Application  :: lock (  )

The function allows locking the application resource. The locking is in effect within the application, only, i.e. one can not lock one application against others. The function might be used in order serialize specific tasks when running in a multi-thread application.