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


Groups > comp.programming.threads > #853

Picking POSIX semaphore names

From Hallvard Breien Furuseth <h.b.furuseth@usit.uio.no>
Newsgroups comp.programming.threads
Subject Picking POSIX semaphore names
Date 2012-04-26 19:22 +0200
Organization University of Oslo, Norway
Message-ID <hbf.20120426dtwb@bombur.uio.no> (permalink)

Show all headers | 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