xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_MultiThread()

Checks if an application is created for multi-threading.

Syntax

HB_MultiThread() --> lIsMultiThread

Return

The functions returns .T. when the application supports multiple threads, otherwise .F. (false) is returned.

Description

The function is used to check if an application is created with the multi-thread enabled libraries of xHarbour. This is accomplished with the -mt compiler switch.

Note:  the multi-threading capabilities require additional code to be linked and create a larger executable than a single-threaded application.

Info

See also:StartThread()
Category: Multi-threading functions , xHarbour extensions
Source:rtl\hvm.c
LIB:xhb.lib
DLL:xhbdll.dll


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