semaphore_POSIX_and​_Windows

Patches Dillon's work to allow native semaphore usage within Matlab on Windows and POSIX systems

Vous suivez désormais cette soumission

Note de l’éditeur : 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

Citation pour cette source

Andrew Smart (2026). semaphore_POSIX_and_Windows (https://fr.mathworks.com/matlabcentral/fileexchange/45504-semaphore_posix_and_windows), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : semaphore

Catégories

En savoir plus sur Energy Production dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
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