SbCondVar - Online Linux Manual Page

Section : 3
Updated : Mon Jan 25 2021
Source : Version 3.1.3
Note : Coin

NAMESbCondVar − A class for synchronizing access to global variables​.

SYNOPSIS
#include <Inventor/threads/SbCondVar​.h>

Public Member FunctionsSbCondVar (void)
~SbCondVar (void)
SbBool wait (SbMutex &mutex)
SbBool timedWait (SbMutex &mutex, SbTime period)
void wakeOne (void)
void wakeAll (void)

Detailed DescriptionA class for synchronizing access to global variables​. Condition variables are used to protect global variables in an environment where multiple threads are running concurrently​.

Constructor & Destructor Documentation

SbCondVar::SbCondVar (void) [inline]Constructor​.

SbCondVar::~SbCondVar (void) [inline]Destructor​.

Member Function Documentation

SbBool SbCondVar::wait (SbMutex & mutex) [inline]This method blocks the calling thread until another thread calls wakeOne() or wakeAll() on the SbCondVar object​.

SbBool SbCondVar::timedWait (SbMutex & mutex, SbTime period) [inline]This method blocks the calling thread until another thread calls wakeOne() or wakeAll() on the object, but if this does not happen within period, the thread is woken again anyways​. TRUE is returned when the thread wakes because either wakeOne() or wakeAll() was called, FALSE is returned if the wait times out​.

void SbCondVar::wakeOne (void) [inline]This method wakes up one of the threads waiting on this SbCondVar​.

void SbCondVar::wakeAll (void) [inline]This method wakes up all the threads waiting on this SbCondVar​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   10,442 byte
man-SbCondVar.3coin3Build   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   18 / 2,083,975
Visitor ID   :     :  
Visitor IP   :   216.73.216.62   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   37.751000 x -97.822000   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :     :  
Provider Province   :   ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.