sync_8hpp.tex 1.5 KB

1234567891011121314151617181920212223
  1. \doxysection{C:/\+\+Users/\+yoneda/\+\+Documents/\+\+Pico\+\_\+\+Projects/\+tinykernel/\+tinykernel/\+include/\+tinykernel/\+sync.hpp ファイル}
  2. \label{sync_8hpp}\index{C:/Users/yoneda/Documents/Pico\_Projects/tinykernel/tinykernel/include/tinykernel/sync.hpp@{C:/Users/yoneda/Documents/Pico\_Projects/tinykernel/tinykernel/include/tinykernel/sync.hpp}}
  3. {\ttfamily \+\#include "{}kernel.\+hpp"{}}\newline
  4. {\ttfamily \+\#include $<$cstdint$>$}\newline
  5. \doxysubsubsection*{クラス}
  6. \begin{DoxyCompactItemize}
  7. \item
  8. class \textbf{ tk::\+\+Semaphore}
  9. \begin{DoxyCompactList}\small\item\em 計数セマフォ (Counting \doxyref{Semaphore}{p.}{classtk_1_1_semaphore}) / バイナリセマフォ \end{DoxyCompactList}\item
  10. class \textbf{ tk::\+\+Mutex}
  11. \begin{DoxyCompactList}\small\item\em 所有権・優先度順ウェイクアップ・\+RAII 対応のミューテックス (排他ロック) \end{DoxyCompactList}\item
  12. class \textbf{ tk::\+\+Lock\+Guard$<$ Lockable $>$}
  13. \begin{DoxyCompactList}\small\item\em ミューテックスのロックをスコープ単位で安全に管理する RAII クラス (std::\+lock\+\_\+guard 相当) \end{DoxyCompactList}\end{DoxyCompactItemize}
  14. \doxysubsubsection*{名前空間}
  15. \begin{DoxyCompactItemize}
  16. \item
  17. namespace \textbf{ tk}
  18. \end{DoxyCompactItemize}
  19. \doxysubsubsection*{型定義}
  20. \begin{DoxyCompactItemize}
  21. \item
  22. using \textbf{ tk::\+\+Binary\+Semaphore} = \textbf{ Semaphore}
  23. \begin{DoxyCompactList}\small\item\em バイナリセマフォ (初期値1, 最大1) の型エイリアス \end{DoxyCompactList}\end{DoxyCompactItemize}