# mbed-os-snippet-EventFlags **Repository Path**: mirrors_ARMmbed/mbed-os-snippet-EventFlags ## Basic Information - **Project Name**: mbed-os-snippet-EventFlags - **Description**: A mirrored example snippet from mbed-os-examples-docs_only - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: v6.0 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EventFlags example for Mbed OS This example shows the `EventFlags` class. One thread is waiting for either of the two defined flags to be set. The second thread is periodically setting the flags. Note that you can use the `wait_any()` method to clear the flags. Note: For more context or to see this example in a rendered form, you can import into the Arm Mbed Online Compiler, please see [the documentation](https://os.mbed.com/docs/mbed-os/latest/apis/eventflags.html). MIRRORED FROM MASTER EXAMPLE SNIPPETS REPOSITORY: mbed-os-examples-docs_only. ANY CHANGES MADE DIRECTLY TO THIS REPOSITORY WILL BE AUTOMATICALLY OVERWRITTEN.