After 4 months of trying to help PLi and coming up against the normal immovable object he eventually gave up and ask me to revert OpenViX to his original working commits. Extremely frustrating. The following were a couple of comments from Simon at the time:
- Erik's going round and round, trying so hard to fix the problem without basing it on my two simple PRs. He's removed the thread signal unblock now, which is wrong, so we've got half a fix, but with more code.
- My approach is that the existing code has been largely unaltered for 7 or 8 years, which is 7 or 8 years' worth of testing, so let's not change it more than we have to.
- Erik has ignored my advice to unblock SIGUSR1 explicitly on the thread as per my initial recommendation in November. I think I'll wait until the user with the XTrend box submits a log with 100 thread stop retries and Erik is really baffled before suggesting it again.
- I'm afraid I got a bit fed up with being a guinea pig for this. PLi weren't interested in taking the actual fix from the guy that had a debugger on a box that was affected and seem to be more interested in fixing bugs that don't actually manifest and introducing more that didn't exist before. It's just not acceptable for the primary function of a PVR to be broken for 4 months.
And I am afraid you're not entirely correct here.
I did not do this:
"He's removed the thread signal unblock now, which is wrong"
If you look again in the code, you will the signal is indeed unblocked, but maybe not in the way that you or Simon would expect. Have a good look at the pthread_sigmask manpage to see how it works. Do you really think I would submit code that I did not test myself, including the delivery of the signal? It just works, most of the time. If the signal was not unblocked, it would never work. So, this is not helping.
"Erik has ignored my advice to unblock SIGUSR1 explicitly on the thread"
Exactly the same comment. Not helping.
Just because the code takes a slightly different approach you're expecting, it doesn't mean it can't work and it isn't tested.
I am human, I can be stubborn and I make mistakes, but I am also a trained software engineer, earned a degree on it so don't talk to me like I am an idiot.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.