Vuo 2.4.4
Loading...
Searching...
No Matches
Classes | Static Public Member Functions | List of all members
VuoThreadUtilities Class Reference

Description

Functions and classes for multithreading.

Definition at line 19 of file VuoThreadUtilities.hh.

Classes

class  Semaphore
 Provides a semaphore data structure, similar to the C++20 binary_semaphore. More...
 

Static Public Member Functions

template<class F >
static void async (F &&fun)
 Calls the given lambda asynchronously.
 

Member Function Documentation

◆ async()

template<class F >
static void VuoThreadUtilities::async ( F &&  fun)
inlinestatic

Calls the given lambda asynchronously.

This function returns immediately after calling the lambda and does not wait for the lambda to finish executing.

https://stackoverflow.com/questions/23454793/whats-the-c-11-way-to-fire-off-an-asynchronous-task-and-forget-about-it

Definition at line 28 of file VuoThreadUtilities.hh.


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