Hi all,
what is the best way to cancel receive blocked threads ??
–Armin
Hi all,
what is the best way to cancel receive blocked threads ??
–Armin
You mean in a resource manager? I implement a custom io_unblock() call which
does a msgreply with EINTR.
“Armin Steinhoff” <a-steinhoff@web.de> wrote in message
news:es1ek0$47$1@inn.qnx.com…
Hi all,
what is the best way to cancel receive blocked threads ??
–Armin
Ken Schumm <kwschumm@qsolv.com> wrote:
You mean in a resource manager? I implement a custom io_unblock() call which
does a msgreply with EINTR.
^^^^^^^^
MsgError
“Armin Steinhoff” <> a-steinhoff@web.de> > wrote in message
news:es1ek0$47$> 1@inn.qnx.com> …Hi all,
what is the best way to cancel receive blocked threads ??
–Armin
“Sean Boudreau” <seanb@qnx.com> wrote in message
news:es4627$po8$1@inn.qnx.com…
Ken Schumm <> kwschumm@qsolv.com> > wrote:
You mean in a resource manager? I implement a custom io_unblock() call
which
does a msgreply with EINTR.
^^^^^^^^
MsgError
Yeah, what he said.
Ken Schumm wrote:
You mean in a resource manager?
No … I mean a simple user level thread waiting for a pulse or message.
A kernel timeout could be an option … but I’m sure there are other
ideas
Thanks
Armin
I implement a custom io_unblock() call which
does a msgreply with EINTR.
“Armin Steinhoff” <> a-steinhoff@web.de> > wrote in message
news:es1ek0$47$> 1@inn.qnx.com> …
Hi all,what is the best way to cancel receive blocked threads ??
–Armin
Armin Steinhoff <a-steinhoff@web.de> wrote:
Ken Schumm wrote:
You mean in a resource manager?No … I mean a simple user level thread waiting for a pulse or message.
A kernel timeout could be an option … but I’m sure there are other
ideas >Thanks
Armin
I implement a custom io_unblock() call which
does a msgreply with EINTR.“Armin Steinhoff” <> a-steinhoff@web.de> > wrote in message
news:es1ek0$47$> 1@inn.qnx.com> …
Hi all,what is the best way to cancel receive blocked threads ??
–Armin
xtang@qnx.com wrote:
- TimerTimeout()
- Shoot a signal to the thread (SignalKill()) to EINTR the
MsgReceive().
In the meantime I implemented that case
Thanks so far
–Armin
- Actually send a pulse to it, (put pulse in a sigevent, and associate
it with a real timer.)Armin Steinhoff <> a-steinhoff@web.de> > wrote:
Ken Schumm wrote:
You mean in a resource manager?
No … I mean a simple user level thread waiting for a pulse or message.
A kernel timeout could be an option … but I’m sure there are other
ideas >Thanks
Armin
I implement a custom io_unblock() call which
does a msgreply with EINTR.“Armin Steinhoff” <> a-steinhoff@web.de> > wrote in message
news:es1ek0$47$> 1@inn.qnx.com> …
Hi all,what is the best way to cancel receive blocked threads ??
–Armin