Rank: 5006 based on 18 downloads (last 30 days) and 1 file submitted
photo

Andrew Smart

E-mail
Company/University
USU

Personal Profile:
Professional Interests:
science, ontology learning, speech, knowledge-based systems

 

Watch this Author's files

 

Files Posted by Andrew
Updated   File Tags Downloads
(last 30 days)
Comments Rating
19 Mar 2014 semaphore_POSIX_and_Windows Patches Dillon's work to allow native semaphore usage within Matlab on Windows and POSIX systems Author: Andrew Smart semaphore 18 1
  • 5.0
5.0 | 1 rating
Comments and Ratings by Andrew View all
Updated File Comments Rating
11 Feb 2014 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

K, this one will work with MS Visual Studio (and POSIX compliant platforms): http://www.mathworks.com/matlabcentral/fileexchange/45504-semaphoreposixandwindows

You can alternatively try to use a POSIX implementation on top of windows: http://en.wikipedia.org/wiki/POSIX

11 Feb 2014 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

Unfortunately pastebin is now blocked at my work :(
I've submitted a new semaphore package on the file exchange, it will appear as soon as it is approved.

11 Feb 2014 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

I apologize about that. It appears I had misused pastebin. Looks like that microsoft API link is dead too. I had augmented Mr. Dillon's code to use CreateSemaphore, OpenSemaphore, and ReleaseSemaphore from the Windows API instead of sem_init, sem_wait, and etc from POSIX. Will attach a patch shortly.

01 Jun 2013 semaphore This mex file provides an interface with the POSIX semaphore functionality. Author: Joshua Dillon

Thank you very much Mr Dillon. Didn't work for me w/ MS Visual Studio compiler, so I added support using whatever this is (http://msdn.microsoft.com/en-us/library/windows/desktop/ms682438%28v=vs.85%29.aspx) a year or so ago: http://pastebin.com/download.php?i=p3tZtf81

Hope this helps someone out there.

Comments and Ratings on Andrew's Files
Updated File Comment by Comments Rating
14 May 2014 semaphore_POSIX_and_Windows Patches Dillon's work to allow native semaphore usage within Matlab on Windows and POSIX systems Author: Andrew Smart Lansey, Jonathan C.

This function is awesome, it feels magical :)
Thanks so much!

Contact us