21.01.2015 Views

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

INtime® 3.1 Software - tenAsys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INtime <strong>3.1</strong> <strong>Software</strong><br />

Object directories<br />

The object directory provides a rendezvous mechanism between RT threads or between<br />

an RT thread and a Windows thread in an INtime application. An RT or Windows<br />

process can catalog objects it wants to share. Other processes can wait for an object to<br />

be cataloged.<br />

These system calls manage RT object directories. Objects may be cataloged, looked up,<br />

and uncataloged. The default directory is the one for the current process. Handles for<br />

the other processes may be obtained using the GetRtThreadHandles call. Catalog names<br />

may be up to 12 characters long and are case-sensitive.<br />

NTX calls<br />

System call<br />

ntxLookupNtxHandle<br />

ntxImportRtHandle<br />

ntxCatalogRtHandle<br />

ntxUncatalogRtHandle<br />

ntxGetRootRtProcess<br />

ntxGetType<br />

Description<br />

Looks up a name-to-handle association. Given a name, an RT or<br />

Windows application can look up the handle associated with it.<br />

Obtains an NTXHANDLE corresponding to an RTHANDLE.<br />

Creates a name-to-handle association in the object directory of<br />

the RT process specified in the call.<br />

Removes the name-to-handle association in the object directory<br />

of the RT process specified in the call.<br />

Obtains the root RT process handle for the NTX location<br />

specified in the call.<br />

Checks the RT object’s type.<br />

High-level calls<br />

System call<br />

CatalogRtHandle<br />

LookupRtHandle<br />

UncatalogRtHandle<br />

InspectRtProcessDirectory<br />

GetRtHandleType<br />

GetRtHandleTypeEx<br />

Description<br />

Creates a name-to-handle association in the object directory of<br />

the RT process specified in the call.<br />

Searches the given process’ object directory for a given name<br />

and returns the object handle, if found.<br />

Removes an entry from a process’ object directory.<br />

Returns the contents of a process’ object directory.<br />

Returns a value indicating the type of an RT object. The handle<br />

must be for a valid RT object.<br />

120

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!