ProSoft Technology MVI69-ADM User Manual

Page 27

Advertising
background image

MVI-ADM ♦ 'C' Programmable

Understanding the MVI-ADM API

'C' Programmable Application Development Module

Developer's Guide

ProSoft Technology, Inc.

Page 27 of 342

February 20, 2013

3.1.4 Multi-threading Considerations

The DOS 6-XL operating system supports the development of multi-threaded
applications.

Note: The multi-threading library kernel.lib in the DOS folder on the distribution CD-ROM is

compiler-specific to Borland C++ 5.02. It is not compatible with Digital Mars C++ 8.49. ProSoft

Technology, Inc. does not support multi-threading with Digital Mars C++ 8.49.

Note: The ADM DOS 6-XL operating system has a system tick of 5 milliseconds. Therefore, thread

scheduling and timer servicing occur at 5ms intervals. Refer to the DOS 6-XL Developer’s Guide

on the distribution CD-ROM for more information.

Multi-threading is also supported by the API.

DOS and cipapi libraries have been tested and are thread-safe for use in

multi-threaded applications.

MVIbp and MVIsp libraries are safe to use in multi-threaded applications with

the following precautions: If you call the same MVIbp or MVIsp function from
multiple threads, you will need to protect it, to prevent task switches during
the function's execution. The same is true for different MVIbp or MVIsp
functions that share the same resources (for example, two different functions
that access the same read or write buffer).

WARNING: ADM and ADMNET libraries are not thread-safe. ProSoft Technology, Inc. does not

support the use of ADM and ADMNET libraries in multi-threaded applications.

Advertising