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.
INtime <strong>3.1</strong> <strong>Software</strong><br />
System calls<br />
Each RT kernel object has an associated set of system calls: programmatic interfaces<br />
you use to manipulate objects or control the computer’s actions. System calls for one<br />
object type cannot manipulate objects of another type. This protects objects from<br />
inappropriate actions or changes.<br />
Most system calls have parameters, such as values and names, that you can set to tailor<br />
the call’s performance. High-level system calls validate these parameters; a condition<br />
code returned by the call indicates whether or not the call completed successfully.<br />
Invalid parameter usage, such as trying to manipulate an object of the wrong type, or<br />
trying to read or write memory to which you have no access, results in the return of a<br />
‘call failed’ condition code. You can use another system call (GetLastRtError) to<br />
determine the failure’s exact cause.<br />
Examples of tasks you can perform with system calls include:<br />
Function<br />
Create a new mailbox<br />
Set a thread’s priority<br />
Send a handle to an object mailbox<br />
System call<br />
CreateRtMailbox<br />
SetRtThreadPriority<br />
SendRtHandle<br />
Note<br />
For an overview of INtime software’s system calls, see Appendix A, INtime software system calls.<br />
For detailed information, including syntax and parameter values, see Help.<br />
Real time shared libraries<br />
You can build libraries that can be shared by one or more real-time applications. These<br />
Real time shared libraries (RSLs), function essentially like their Windows DLL<br />
counterparts.<br />
An INtime Wizard is provided that integrates with Microsoft Visual Studio to allow<br />
you to easily create an RSL. It produces the framework for an RSL, and sets up the<br />
various Visual Studio settings to generate an RSL that the INtime loader can manage.<br />
For detailed information on creating an RSL, see INtime Help.<br />
50