Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50413
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jsf80238@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.077 |
| X-Spam-Evidence | '*H*': 0.86; '*S*': 0.01; 'subject:file': 0.07; 'subject:same': 0.07; '\xc2\xa0i': 0.16; 'options': 0.25; 'database,': 0.30; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'to:name:python-list': 0.33; 'subject:the': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'two': 0.37; 'conditions.': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'race': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8sQ2pv3VCWnvlr+KY2lH6PKdjLIdzU3LmqdNimE1zZw=; b=kPcfQbYZxfq0sDfnGjeXzqUKp2T3tJddApKwf38Y+7VIu2HkA8Q+sNmenh32TVeeTg sX7p+TiZ+g8snuAsar7VLwrPl1zcWI3qA4bG4SQyiUb+uRlPdWQUIlgjdAMhj2t2PoWw L6mXJq5vvNuR6PEg1gMoq54LasvdIZhRqvIuO0Ovk5OIleLINysMAa8A2WZ/r5KDFQ0V 0D6bATwaMihxVigtYx7edMvuw5IfvBRCEqoY2w7lIgz3Rv53sjeO3JKTh2roC25FK+lx Qm88vy/7/04O97CQH9S4rz6V6xwMzTSNmYTKb/sKTjm7MPSeyR5TFxku9L50UhV/SARa jwCA== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.111.4 with SMTP id ie4mr28123837igb.1.1373518629678; Wed, 10 Jul 2013 21:57:09 -0700 (PDT) |
| Date | Wed, 10 Jul 2013 22:57:09 -0600 |
| Subject | Concurrent writes to the same file |
| From | Jason Friedman <jsf80238@gmail.com> |
| To | python-list <python-list@python.org> |
| Content-Type | multipart/alternative; boundary=089e0141aa1203e46804e1353aae |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4565.1373518632.3114.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1373518632 news.xs4all.nl 15887 [2001:888:2000:d::a6]:47290 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:50413 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Other than using a database, what are my options for allowing two processes to edit the same file at the same time? When I say same time, I can accept delays. I considered lock files, but I cannot conceive of how I avoid race conditions.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Concurrent writes to the same file Jason Friedman <jsf80238@gmail.com> - 2013-07-10 22:57 -0600 Re: Concurrent writes to the same file Nobody <nobody@nowhere.com> - 2013-07-11 09:30 +0100
csiph-web