ed1k <firstname.lastname@example.org> wrote:
Xiaodan Tang <> email@example.com> > wrote in article <9opvp9$sba$> firstname.lastname@example.org> >…
I don’t believe devi-hirun will restart devc-ser8250. (the fact the pid
didn’t change suggested that).
You want to take a look of system architecture. Topics like:
“priority inheritance”, “priority inversion”.
The quick answer is devc-ser8250 keeps on adjuest its priority according
the request it received.
Excuse my ignorance. You are right. devi-hirun does not restart of devc-ser8250. Ok.devi-hirun do
“renice” of devc-ser8250 somehow. (How is not interesting for me at this time. I hope I’ll have a
time to read docs). But I don’t understand why does devi-hirun do it? devc-ser8250 manages two
The document I point out explained “why”. “Priority inversion” is a
classic problem in Realtime processing.
In a short word, all the managers in QNX will “adujest” their priority
while service a client, the new “priority” is the same as the client’s
priority, otherwise, you could have a “low priority” client starve a
“high priroity” client, which brokes “high priority go first” golden
rule in Realtime System.
I am sorry that I don’t have detail information about your perticular
problem (unwanted mouse event…)
ports (both com1 and com2), mouse takes one of them, what if other application uses another com?
Will do they do renice of serial driver? Ok, I’ll read docs about architecture, but I think it’s a
bit strange. BTW, I’ve found other processes which adjust their priority somehow (for example,
helpviewer), but again, it seems to be strange as applied to the driver.
I still have the problem with mouse. I’d like to explain my last experiment:
1/ I launch phmad (player by Chris McKillop), open and play the mp3 (it’s important, phmad should
creat the second thread with priority 15)
2/ I don’t touch mouse buttons, simply I move mouse. It causes the context menu to appears (if
cursor is moved on free part of desktop, it’s more safe > > ) as if button was pressed
3/ I do “renice -6” of devi-hirun (devi-hirun’s priority is increased to 16). I have no strange
effects as in point 2
4/ I do “renice -1” of phmad and I have the unwanted mouse events again.
So, I cannot to renice of devi-hirun as a workaround in my system (I feel nobody else have these
strange mouse events), because I don’t know the maximum priority of other procces which can be
launched in system.
What do you think about “slay -P 25 devi-hirun”? Of course, I can get pid by “slay -p devi-hirun”
(it works) and then do “renice” of devi-hirun. Just curious.
Thank you very much,
3/ Where is the first thread of devi-hirun? Why does not ‘slay -P’ work with devi-hirun?
I would be VERY grateful for explanation.
Thank you in advance,