Return the value of the thread-specific Ibcnt.
unsigned int ThreadIbcnt ()
none | No input parameters |
Function Return | Value of Ibcnt for the calling thread |
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, ThreadIbcnt instead of the global NI-488.2 status functions.
![]() |
Return to Supplemental Calls for Multithreaded NI-488.2 Applications |
Related Topics: