ThreadIbcnt
Purpose
Return the value of the thread-specific Ibcnt.
Format
C
unsigned long ThreadIbcnt ()
Visual Basic
rc% = ThreadIbcnt ()
Input
none | No input parameters |
Output
Function Return | Value of Ibcnt for the calling thread |
Description
ThreadIbcnt returns the current value of Ibcnt 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 functions 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: