semaphore_POSIX_and​_Windows

版本 1.3.0.0 (5.0 KB) 作者: Andrew Smart
Patches Dillon's work to allow native semaphore usage within Matlab on Windows and POSIX systems
1.1K 次下载
更新时间 2014/3/19

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

Augment of Mr. Dillon's work: http://www.mathworks.com/matlabcentral/fileexchange/32489-semaphore
This provides an interface with POSIX semaphore functionality on the native platform. Windows doesn't implement the POSIX semaphore API, so the Windows API equivalents are used if compiled on Windows.
To install/compile: mex -O -v semaphore.c

引用格式

Andrew Smart (2025). semaphore_POSIX_and_Windows (https://ww2.mathworks.cn/matlabcentral/fileexchange/45504-semaphore_posix_and_windows), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Energy Production 的更多信息
致谢

参考作品: semaphore

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.0

Apparently I needed to re-enter contribution ids.

1.2.0.0

Updated the semaphore.c file to fix bugs.

1.1.0.0

Updated description.

1.0.0.0