Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
helpers.cc File Reference
#include "helpers.hh"
#include <utility>
#include <scroom/semaphore.hh>
Include dependency graph for helpers.cc:

Namespaces

namespace  anonymous_namespace{helpers.cc}
 

Functions

boost::function< void()> pass (Semaphore *s)
 
boost::function< void()> clear (Semaphore *s)
 
boost::function< void()> destroy (std::shared_ptr< void > &p)
 

Function Documentation

◆ clear()

boost::function< void()> clear ( Semaphore s)
29{
30 return [s] { s->V(); };
31}
BitmapSurface::Ptr const s
Definition transformpresentation_test.cc:70

◆ destroy()

boost::function< void()> destroy ( std::shared_ptr< void > &  p)
34{
35 return [p = std::move(p)]() mutable { p.reset(); };
36}
PresentationInterfaceStub::Ptr const p
Definition determine-size-test.cc:172

Referenced by destroy().

Here is the caller graph for this function:

◆ pass()

boost::function< void()> pass ( Semaphore s)
24{
25 return [s] { s->P(); };
26}

Referenced by has_at_least_n_threads().

Here is the caller graph for this function: