RTX理解5

文献来源:http://wzhyblog.yo2.cn/articles/%E5%AE%9E%E6%97%B6%E7%B3%BB%E7%BB%9Frtx%E5%AE%98%E6%96%B9%E6%96%87%E6%A1%A3%E4%B8%AD%E6%96%87%E7%BF%BB%E8%AF%91_7.html

实时系统RTX官方文档中文翻译_7

本文档包含以下内容:


支持的函数矩阵
关于矩阵
提供RTX支持的API的技术信息。函数矩阵为以下几部分提供:
  • 实时函数
  • Win32支持的函数
  • C库支持的函数
  • C++库支持的函数
  • RTK函数

要点

注释代码(Code for Notes)

含义

1
Rt优先级的范围为从0 到 127,而 Win32 的范围是 {-15, -2, -1, 0, 1, 2, 15} 。
2
RTX IPC命名空间独立于 Win32命名空间。

3

此调用被Rt和Win32两者都支持(如, RtAtoiAtoi)。
4
在RTSS DLL中不能使用。

5

在共享的RTDLL中不支持的C/C++程序调用。
确定性
  • No 表明此调用是非确定性的
  • Yes 表明此调用的消耗时间在5ms以内
  • Yes* 表明此调用对于较小输入容量是确定性的
  • Unknown 表明不可能知道此调用是否确定性,因为并不总是了解对此调用相关的对象的所有信息

实时和Win32 API按功能分组

异常管理API

Exception Management Real-Time FunctionsException Management Win32-Supported Functions
RtAttachShutdownHandler

RtReleaseShutdownHandler

AbnormalTermination

GetExceptionCode

GetExceptionInformation

RaiseException

SetUnhandledExceptionFilter

UnhandledExceptionFilter

时钟和定时器API

Clocks and Timers Real-Time FunctionsClocks and Timers Win32-Supported Functions
RtCancelTimer

RtCreateTimer

RtDeleteTimer

RtGetClockResolution

RtGetClockTime

RtGetClockTimerPeriod

RtGetRtssTimeAsFileTime

RtGetTimer

RtSetClockTime

RtSetRtssTimeAsFileTime

RtSetTimer

RtSetTimerRelative

RtSleepFt

FileTimeToLocalFileTime

FileTimeToSystemTime

GetLocalTime

GetSystemTime

GetTimeZoneInformation

LocalFileTimeToFileTime

Sleep

一般使用的API

General Use Real-Time FunctionsGeneral Use Win32-Supported Functions
RtAtoi

RtCloseHandle

RtIsInRtss

RtPrintf

RtWPrintf

RtWtoi

CloseHandle

CreateDirectory

CreateFile

DeleteCriticalSection

DeleteFile

DeviceIoControl

DllMain

EnterCriticalSection

FreeLibrary

GetLastError

GetProcAddress

InitializeCriticalSection

LeaveCriticalSection

LoadLibrary

ReadFile

RemoveDirectory

SetFilePointer

SetLastError

WriteFile

中断服务API

Interrupt Services
Real-Time Functions
RtAttachInterrupt

RtAttachInterruptVector

RtAttachInterruptVectorEx

RtDisableInterrupts

RtEnableInterrupts

RtQueryPciMsiCapability

RtReleaseInterrupt

RtReleaseInterruptVector

进程间通信(IPC)API

IPC Real-Time Functions
RtCreateEvent

RtCreateMutex

RtCreateSemaphore

RtCreateSharedMemory

RtOpenEvent

RtOpenMutex

RtOpenSemaphore

RtOpenSharedMemory

RtPulseEvent

RtReleaseMutex

RtReleaseSemaphore

RtResetEvent

RtSetEvent

RtWaitForMultipleObjects

RtWaitForSingleObject

内存API

Memory Real-Time FunctionsMemory Win32-Supported Functions
RtAllocateContiguousMemory

RtAllocateLockedMemory

RtCommitLockHeap

RtCommitLockProcessHeap

RtCommitLockStack

RtCreateSharedMemory

RtFreeContiguousMemory

RtFreeLockedMemory

RtGetPhysicalAddress

RtLockKernel

RtLockProcess

RtMapMemory

RtUnlockKernel

RtUnlockProcess

RtUnmapMemory

GetProcessHeap

HeapAlloc

HeapCreate

HeapDestroy

HeapFree

HeapReAlloc

HeapSize

端口和总线IO API

Port and Bus IO Real-Time Functions
RtDisablePortIo

RtEnablePortIo

RtGetBusDataByOffset

RtReadPortBufferUchar, Ushort, Ulong

RtReadPortUchar, Ushort, Ulong

RtSetBusDataByOffset

RtTranslateBusAddress

RtWritePortBufferUchar, Ushort, Ulong

RtWritePortUchar, Ushort, Ulong

进程和线程API

Processes and Threads Real-Time FunctionsProcesses and Threads Win32-Supported Functions
RtCreateProcess

RtGetExitCodeProcess

RtGetThreadTimeQuantum

RtIsInRtss

RtTerminateProcess

RtSetThreadPriority

RtSetThreadTimeQuantum

RtSleepFt

CreateThread

ExitProcess

ExitThread

GetCurrentProcessId

GetCurrentThread

GetCurrentThreadId

GetExitCodeThread

GetThreadPriority

RtOpenProcess

ResumeThread

SetThreadPriority

Sleep

SuspendThread

TerminateThread

TlsAlloc

TlsFree

TlsGetValue

TlsSetValue

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值