[PD-dev] [ pure-data-Patches-3505268 ] disable "rt" flag if watchdog cannot be found

SourceForge.net noreply at sourceforge.net
Thu Mar 15 15:44:21 CET 2012


Patches item #3505268, was opened at 2012-03-15 07:41
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3505268&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
>Status: Deleted
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: disable "rt" flag if watchdog cannot be found

Initial Comment:
currently, if you start Pd with the "-rt" flag and it cannot find the pd-watchdog executable (for whatever reason), it will misrably fail
$ pd
priority 6 scheduling enabled.
priority 8 scheduling enabled.
sh: ...../pd-watchdog: No such file or directory
pd: watchdog process died
pdsend errorname: >>error writing "sock8": broken pipe<<
$

the attached patch fixes this, as it first checks whether there is a file called ${pdpath}/pd-watchdog, and if it cannot find it, it will disable rt priviliges.


PS: i thought i already committed this some days ago, but cannot find it anymore...

----------------------------------------------------------------------

>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-03-15 07:44

Message:
ah, i found the other ticket:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3438752&group_id=55736

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3505268&group_id=55736



More information about the Pd-dev mailing list