Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctThrdAttach

Make an existing thread FairCom DB compatible.

Short Name

ctThrdAttach()

Type

Threading function

Declaration

NINT ctThrdAttach(void)

Description

ctThrdAttach() prepares a thread to be used with FairCom DB. If the calling thread is already compatible, ctThrdAttach() returns NO_ERROR and does nothing.

Return

Value

Symbolic Constant

Explanation

0

NO_ERROR

Thread successfully attached.

82

UALC_ERR

Insufficient memory.

600

CTHD_ERR

Exceeded threads permitted by ctThrdInit().

See FairCom DB Error Codes for a complete listing of valid FairCom DB error values.

Example

See the ctThrdDetach() example.

See also

ctThrdDetach, ctThrdInit

TOCIndex