mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 10:52:15 +02:00
documentation syntax fixes
This commit is contained in:
parent
4a4f06dc57
commit
5f6b840360
@ -7,13 +7,13 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "semaphore.h"
|
#include "semaphore.h"
|
||||||
|
|
||||||
/// Barrier structure
|
/// Barrier structure.
|
||||||
typedef struct Barrier {
|
typedef struct Barrier {
|
||||||
u64 count; ///< Number of threads to reach the barrier
|
u64 count; ///< Number of threads to reach the barrier.
|
||||||
u64 thread_total; ///< Number of threads to wait on
|
u64 thread_total; ///< Number of threads to wait on.
|
||||||
Semaphore throttle; ///< Semaphore to make sure threads release to scheduler one at a time
|
Semaphore throttle; ///< Semaphore to make sure threads release to scheduler one at a time.
|
||||||
Semaphore lock; ///< Semaphore to lock barrier to prevent multiple operations by threads at once
|
Semaphore lock; ///< Semaphore to lock barrier to prevent multiple operations by threads at once.
|
||||||
Semaphore thread_wait; ///< Semaphore to force a thread to wait if count < thread_total
|
Semaphore thread_wait; ///< Semaphore to force a thread to wait if count < thread_total.
|
||||||
} Barrier;
|
} Barrier;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user