Safer wrapper for Windows-API Semaphore

バージョン 1.0.1 (11 KB) 作成者: Igor
A semaphore for Matlab
ダウンロード: 56
更新 2018/10/15

編集メモ: This file was selected as MATLAB Central Pick of the Week

A slightly safer Matlab wrapper for Win32-API Semaphore objects.
Allows to limit number of processes, that are allowed to enter a specific session of code simultaneously.
The code is based on https://www.mathworks.com/matlabcentral/fileexchange/45504-semaphore-posix-and-windows by Andrew Smart.
The main changes in this version are:
* Allows to specify wait timeout
* Added a Matlab wrapper that automatically creates unique identifiers
* removed POSIX version

Quickstart:
1. Run "semaphore_build_mex.m" to build the mex
2. Run "demo_semaphore.m" to take a look on how it works

引用

Igor (2024). Safer wrapper for Windows-API Semaphore (https://github.com/i3v/SaferMatlabSemaphore), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2016b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSoftware Development Tools についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GitHub の既定のブランチを使用するバージョンはダウンロードできません

バージョン 公開済み リリース ノート
1.0.1

Replaced `exist()` with `nargin`

1.0.0.0

Fixed a typo in description.

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。