INtime® 3.1 Software - tenAsys
INtime® 3.1 Software - tenAsys
INtime® 3.1 Software - tenAsys
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Appendix A: INtime software system calls<br />
High-level calls<br />
System call<br />
CreateRtSemaphore<br />
DeleteRtSemaphore<br />
WaitForRtSemaphore<br />
ReleaseRtSemaphore<br />
Description<br />
Creates a semaphore with the given initial and maximum<br />
number of units.<br />
Deletes a semaphore.<br />
Waits for and removes a specified number of units from a<br />
semaphore.<br />
Sends a given number of units to a semaphore.<br />
Low-level calls<br />
System call<br />
knCreateRtSemaphore<br />
knDeleteRtSemaphore<br />
knWaitForRtSemaphore<br />
knReleaseRtSemaphore<br />
Description<br />
Creates 1 of 3 kinds of kernel semaphores with 0 or 1 initial units.<br />
Deletes a kernel semaphore.<br />
Waits for and removes a unit from the specified kernel semaphore.<br />
Sends a single unit to a specified kernel semaphore.<br />
Status<br />
NTX calls<br />
System call<br />
ntxGetLastRtError<br />
ntxGetRtErrorName<br />
ntxLoadRtErrorString<br />
ntxGetRtStatus<br />
Description<br />
Returns the status code of the last failing NTX call made in this<br />
Windows thread.<br />
Returns a pointer to a constant string.<br />
Copies a short sentence (no punctuation) that describes<br />
"Status" into the buffer at lpBuffer.<br />
Verifies whether the RT kernel is currently running.<br />
High-level calls<br />
System call<br />
GetLastRtError<br />
SetLastRtError<br />
CopyRtSystemInfo<br />
ReportRtEvent<br />
Description<br />
Returns the status code of the last failing RT system call made<br />
by this RT thread.<br />
Sets the calling thread’s last error field.<br />
Copies the contents of the RQSYSINFO segment, cataloged in<br />
the root process, into the SYSINFO structure.<br />
Collects log data in the same format as the Windows<br />
ReportEvent function, and passes it to the INtime Registry<br />
Service for logging in the Windows Registry.<br />
125