From: Bengt Kleberg <bengt.kleberg@ericsson.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] plan9port: flock on sunos5.8?
Date: Thu, 24 Jun 2004 09:03:08 +0000 [thread overview]
Message-ID: <cbdqnu$fob$1@newstree.wise.edt.ericsson.se> (raw)
In-Reply-To: <200406232047.i5NKlLK16116@zamenhof.cs.utwente.nl>
Axel Belinfante wrote:
> yet another instance of 'spending some time on plan9port on sunos 5.8'.
>
> lib9/create.c needs/uses bsd-style flock which is not available by default,
> but accessable using /usr/usb/cc
the sun man page mentioned things like:
Use of these interfaces should be restricted to only appli-
cations written on BSD platforms. Use of these interfaces
with any of the system libraries or in multi-thread applica-
tions is unsupported.
i think that it is very difficult to use the sun flock(), without
breaking many things.
what is the intended effect? perhaps another lock function (lockf(),
fcntl(), etc) can be used?
my plan9port is plan9-20040517.tar.gz and does not have flock() in
plan9/src/lib9/create.c
perhaps the benefits of adding flock() are not worth the problems it
creates? then flock() could be removed.
bengt
next prev parent reply other threads:[~2004-06-24 9:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-23 20:47 Axel Belinfante
2004-06-23 21:17 ` boyd, rounin
2004-06-24 9:03 ` Bengt Kleberg [this message]
2004-06-24 13:20 ` William Josephson
2004-06-24 13:22 ` William Josephson
2004-06-24 13:43 ` [9fans] plan9port (: flock) " Axel Belinfante
2004-06-24 14:21 ` boyd, rounin
2004-06-24 15:25 ` William Josephson
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='cbdqnu$fob$1@newstree.wise.edt.ericsson.se' \
--to=bengt.kleberg@ericsson.com \
--cc=9fans@cse.psu.edu \
/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).