9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: gdiaz@9grid.es
To: 9fans@9fans.net
Subject: [9fans] exiting nicely
Date: Wed, 30 Sep 2009 09:46:33 +0200	[thread overview]
Message-ID: <9d12d327612343c13bd110253c2632c6@9grid.es> (raw)

hello

I have a couple of processes working together sharing memory and using locks, and when the program finish the job and exits, the proceses in Rendez state  does not exit, and i need to slay them.

I'm using postnote(PNGROUP,...) call, should i write a postctl to slay the waiting proceses or is there a better way to accomplish this? (may be using canlock and wait for it with a loop and sleep instead of a qlock?)

thanks

gabi




             reply	other threads:[~2009-09-30  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-30  7:46 gdiaz [this message]
     [not found] <<9d12d327612343c13bd110253c2632c6@9grid.es>
2009-09-30 13:25 ` erik quanstrom
2009-09-30 13:57   ` gdiaz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9d12d327612343c13bd110253c2632c6@9grid.es \
    --to=gdiaz@9grid.es \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).