All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Volkov <arvolkov@inbox.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Error checking and qemu_thread_create
Date: Sat, 18 Mar 2017 21:15:42 +0300	[thread overview]
Message-ID: <5909E3D6-85D8-4B21-9442-CCD312A4717B@inbox.ru> (raw)

Hello.

I want to make qemu_thread_create return a flag as described here (http://wiki.qemu-project.org/BiteSizedTasks), but I’m not sure how callers should behave if it fails.
I could make it so they would call something like error_report() and then call abort(), but then it is almost a copy of existing behavior.
Would the described behavior be acceptable? Or it should be different?

Best regards,
Anton Volkov

             reply	other threads:[~2017-03-18 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-18 18:15 Anton Volkov [this message]
2017-03-18 21:15 ` [Qemu-devel] Strange behaviour in network device initialization Marc Bommert
2017-03-18 22:22   ` Peter Maydell
2017-03-19 13:41     ` Marc Bommert

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=5909E3D6-85D8-4B21-9442-CCD312A4717B@inbox.ru \
    --to=arvolkov@inbox.ru \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.