This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

ssGetRuntimeThreadSafetyCompliance

Get the thread safety compliance setting

Syntax

 int_T ssGetRuntimeThreadSafetyCompliance(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Returns

Threadsafety setting of the S-function block:

  • RUNTIME_THREAD_SAFETY_COMPLIANCE_UNKNOWN — Declare that it is not known if the S-function is threadsafe.

  • RUNTIME_THREAD_SAFETY_COMPLIANCE_TRUE — Declare the S-function as threadsafe.

  • RUNTIME_THREAD_SAFETY_COMPLIANCE_FALSE — Declare the S-function as not threadsafe.

Description

Use to get the threadsafety compliance setting of the S-function.

Languages

C, C++

Example

See the S-function used in matlabroot/toolbox/simulink/simdemos/simfeatures/src/slexCoSimPrimeSFcn.c

Introduced in R2018a