xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HbConsoleLock()

Locks the console for the current thread

Syntax

HbConsoleLock() --> NIL

Return

The return value is always NIL.

Description

The function locks the console for the current thread. While the lock is active, no other thread can produce output on the screen (text mode). The lock must be released with HbConsoleUnlock().

Info

See also:DispBegin(), HbConsoleUnlock()
Category: Multi-threading functions , xHarbour extensions
Source:rtl\console.c
LIB:xhbmt.lib
DLL:xhbdllmt.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe