ThreadIbsta
Purpose
Return the value of the thread-specific Ibsta .
Format
C
unsigned long ThreadIbsta ()
Visual Basic
rc% = ThreadIbsta ()
Input
none | No input parameters |
Output
Function Return | Value of Ibsta for the calling thread |
Description
ThreadIbsta returns the current value of Ibsta for a particular thread of execution. The global NI-488.2 status functions (Ibsta, Iberr, Ibcnt) are maintained on a per process basis, which means that their values are updated whenever any thread in that process makes NI-488.2 calls. The thread NI-488.2 status variables are maintained on a per thread basis, which means that their values are updated whenever that particular thread makes NI-488.2 calls. If your application performs NI-488.2 operations in multiple threads, your application should examine the thread NI-488.2 status functions using ThreadIbsta, ThreadIberr, and ThreadIbcnt instead of the global NI-488.2 status functions.
Return to Supplemental Calls for Multithreaded NI-488.2 Applications |
Related Topics: