Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #853

Picking POSIX semaphore names

Path csiph.com!usenet.pasdenom.info!goblin1!goblin.stu.neva.ru!uio.no!nntp.uio.no!.POSTED!not-for-mail
From Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no>
Newsgroups comp.programming.threads
Subject Picking POSIX semaphore names
Date Thu, 26 Apr 2012 19:22:28 +0200
Organization University of Oslo, Norway
Lines 12
Message-ID <hbf.20120426dtwb@bombur.uio.no> (permalink)
NNTP-Posting-Host bombur.uio.no
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace readme.uio.no 1335460948 6208 129.240.6.233 (26 Apr 2012 17:22:28 GMT)
X-Complaints-To abuse@uio.no
NNTP-Posting-Date Thu, 26 Apr 2012 17:22:28 +0000 (UTC)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:pDNJIk51C9TInsuQPohBLsCllCA=
Xref csiph.com comp.programming.threads:853

Show key headers only | View raw


POSIX only defines the behaviour of semaphore names that start with a
slash and contain no other slashes.  But have users always access to
create such names?  They can show up in the filesystem, and non-root
users do not have access to create entries in the root directory.

For that matter, it sounds annoying if "ls /" lists a large number of
named semaphores.  Have any conventions emerged for where to put them
on systems where their names do show up in the filesystem?  /tmp/
springs to mind - on systems where that works, anyway.

-- 
Hallvard

Back to comp.programming.threads | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Picking POSIX semaphore names Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no> - 2012-04-26 19:22 +0200
  Re: Picking POSIX semaphore names Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2012-04-26 20:13 +0200

csiph-web