BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmt::FastPostSemaphoreImplWorkaroundUtil Class Reference

#include <bslmt_fastpostsemaphoreimpl.h>

Static Public Member Functions

static void removePostAlwaysSignalsMitigation ()
 
static bool usePostAlwaysSignalsMitigation ()
 

Detailed Description

This class provides utility functions for workarounds to system level issues for FastPostSemaphoreImpl.

See bslmt_fastpostsemaphoreimpl

Member Function Documentation

◆ removePostAlwaysSignalsMitigation()

void bslmt::FastPostSemaphoreImplWorkaroundUtil::removePostAlwaysSignalsMitigation ( )
inlinestatic

Remove the mitigation of post always signalling the condition variable. Note this mitigation was introduced as a work around for a lost signal bug in the underlying implementation of condition variable (e.g., https://sourceware.org/bugzilla/show_bug.cgi?id=25847). The availability of the pthread correction is tracked in DRQS 172614796, and the reversion of this workaround in DRQS 174079882.

◆ usePostAlwaysSignalsMitigation()

bool bslmt::FastPostSemaphoreImplWorkaroundUtil::usePostAlwaysSignalsMitigation ( )
inlinestatic

Return true if the mitigation of post always signalling the condition variable should be used, and false otherwise.


The documentation for this class was generated from the following file: