Training
×

Windows/RT Object Sharing

Windows and RT threads communicate via INtime objects. There are two ways for a Windows application to obtain an INtime object handle:
  • it can lookup or receive a handle of an object that was created earlier
  • it can create an RT object on an INtime node; in this case the object is actually created by the DSM Subsystem process on the given INtime node and that process owns the object. The RT object is automatically deleted when the Windows process exits.
All RT objects live on an INtime node; when used by a Windows application, an RT object is identified by an NTXHANDLE, which identifies the INtime node and includes the RTHANDLE.
A Windows application using NTX calls can create (data and object) mailboxes,  message queues and semaphores.
Windows threads do not have access to RT threads, RT interrupts, RT regions or the INtime scheduler.
Memory objects must be created by an RT thread, then shared with a Windows thread.