Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

getpid does not exist in matlab #93

Open
pbellec opened this issue May 3, 2016 · 2 comments
Open

getpid does not exist in matlab #93

pbellec opened this issue May 3, 2016 · 2 comments

Comments

@pbellec
Copy link
Member

pbellec commented May 3, 2016

PSOM 2.0 makes heavy use of so-called "heartbeat", small processes that can be used to monitor or kill other processes. A the core of this mechanism is the use of process IDs. It so happens that matlab does not have the function getpid that exists in Octave. Instead it has feature('getpid'), which is a syste-dependent feature. Even if this works on linux, it may totally break on windows or OSX. Fun (testing) times ahead....

@pbellec pbellec added this to the release 2.0 milestone May 3, 2016
@pbellec pbellec self-assigned this May 3, 2016
pbellec added a commit that referenced this issue May 3, 2016
@pbellec
Copy link
Member Author

pbellec commented May 3, 2016

successful test run on matlab and linux using feature('getpid'). More testing necessary on OSX and Windows.

@pbellec
Copy link
Member Author

pbellec commented May 3, 2016

I am closing this issue for now, as it has been addressed for Matlab on Linux. Will re-open if tests on Windows reveal more problems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant