Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Y
YAT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Control System
Libraries
YAT
Commits
7eb22016
Commit
7eb22016
authored
Jan 18, 2024
by
Stéphane Poirier
Browse files
Options
Downloads
Patches
Plain Diff
DOxygen
parent
107c9e50
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/yat/threading/Threading.h
+18
-4
18 additions, 4 deletions
include/yat/threading/Threading.h
include/yat/utils/Utils.h
+2
-0
2 additions, 0 deletions
include/yat/utils/Utils.h
with
20 additions
and
4 deletions
include/yat/threading/Threading.h
+
18
−
4
View file @
7eb22016
...
...
@@ -48,15 +48,16 @@
// ============================================================================
//! \page threadingPage Threading documentation
//! \tableofcontents
//! The threading utilities provide a set of classes implementing
classical
threading
//! The threading utilities provide a set of classes implementing threading
//! concepts as well as the specific task notion. \n
//!
//! \section sec1
Classical t
hreading concepts
//! The threading utilities provide the following
classical
threading concepts :
//! \section sec1
T
hreading concepts
//! The threading utilities provide the following threading concepts :
//! - thread
//! - mutex
//! - semaphore
//! - barrier
//! - condition
//!
//! \subsection ssec11 Thread concept
//! The Thread class is a basic implementation of the thread concept. It's an abstract class
...
...
@@ -65,6 +66,8 @@
//! It provides both "detached" and "undetached" (i.e. joinable) behaviour.\n
//! For example, a Thread class can be used to implement a simple data acquisition thread.
//! For more complex threaded treatments, use the Task concept described below.
//! Due to the introduction of JThread (see below) this class should be
//! considered as a easier solution than using Thread.
//!
//! \subsection ssec12 Mutex concept
//! The Yat Mutex implementation provides three classes :
...
...
@@ -136,7 +139,12 @@
//! condition handling.
//! \remark It is recommended to use a yat::AutoMutex mutex.
//!
//! \section sec3 Threading classes
//! \section sec3 JThread class
//! This class is a advanced and easy to use implementation of the thread concept.
//! It provides a standardized cancellation capability and automatically join when
//! deleted if it was spawned in undetached mode, which is the default.
//!
//! \section sec4 Threading classes
//! Links to threading classes : \n
//! - yat::Task
//! - yat::Thread
...
...
@@ -153,6 +161,12 @@
//! - yat::SyncAccess
//! - yat::ThreadingUtilities
//! - yat::Atomic
//! - yat::JThread
//! - yat::Promise
//! - yat::Future
//!
//! \section sec5 Threading functions
//! - yat::async
// ============================================================================
...
...
This diff is collapsed.
Click to expand it.
include/yat/utils/Utils.h
+
2
−
0
View file @
7eb22016
...
...
@@ -87,12 +87,14 @@
//! - yat::String
//! - yat::StringDictionary
//! - yat::Format
//! - yat::SFormat
//! - yat::StringTemplate
//! - yat::StringTokenizer
//! - yat::URI
//! - yat::picojson
//! - yat::md5::md5_t
//! - yat::XString
//! - yat::ArgPack
// ============================================================================
#endif // _UTILS_H_
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment