From: David Hopwood <david.nospam.hopwood@blueyonder.co.uk>
To: xen-devel@lists.xensource.com
Subject: Re: [PATCH] stream fixes for migration
Date: Tue, 05 Apr 2005 02:57:49 +0100 [thread overview]
Message-ID: <4251F09D.20907@blueyonder.co.uk> (raw)
In-Reply-To: <200504040241.05209.mark.williamson@cl.cam.ac.uk>
Mark Williamson wrote:
>>doing anything to a c stream will work in a multithreaded environment; ie,
>>the internal buffers/vars will not be stompped on.
>>
>>It's in the spec(don't ask me where, I read it in the info docs).
>
> I think the issue is with Xfrd's IOStream type (libxutil/iostream.h), rather
> than with standard C streams.
>
> (and I don't know if they're safe for multiple users, although I would expect
> that they're single thread-oriented)
Well, the patch seemed to be assuming that they don't need to be safe for
multiple threads. For example, the patch tries to make multiple closes safe,
but this won't work if the closes are concurrent. I was just checking that
no-one was expecting this to work.
--
David Hopwood <david.nospam.hopwood@blueyonder.co.uk>
next prev parent reply other threads:[~2005-04-05 1:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-04 22:10 [PATCH] stream fixes for migration Charles Coffing
2005-04-05 1:18 ` David Hopwood
2005-04-05 1:32 ` Adam Heath
2005-04-04 1:41 ` Mark Williamson
2005-04-05 1:57 ` David Hopwood [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-04-04 22:27 Ian Pratt
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=4251F09D.20907@blueyonder.co.uk \
--to=david.nospam.hopwood@blueyonder.co.uk \
--cc=xen-devel@lists.xensource.com \
/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.