All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next 2/3] python-lockfile: new package
Date: Wed, 25 Dec 2019 22:00:04 +0100	[thread overview]
Message-ID: <20191225220004.0a9451f0@windsurf> (raw)
In-Reply-To: <20191125193850.862709-2-aduskett@gmail.com>

On Mon, 25 Nov 2019 11:38:49 -0800
aduskett at gmail.com wrote:

> From: Adam Duskett <aduskett@greenlots.com>
> 
> The lockfile package exports a LockFile class which provides a
> simple API for locking files. Unlike the Windows
> msvcrt.locking function, the fcntl.lockf and flock functions,
> and the deprecated posixfile module, the API is identical
> across both Unix (including Linux and Mac) and Windows
> platforms.
> 
> The lock mechanism relies on the atomic nature of the link
> (on Unix) and mkdir (on Windows) system calls. An
> implementation based on SQLite is also provided, more as a
> demonstration of the possibilities it provides than as
> production-quality code.
> 
> Signed-off-by: Adam Duskett <aduskett@greenlots.com>
> ---
>  DEVELOPERS                                   |  1 +
>  package/Config.in                            |  1 +
>  package/python-lockfile/Config.in            | 17 +++++++++++++++++
>  package/python-lockfile/python-lockfile.hash |  5 +++++
>  package/python-lockfile/python-lockfile.mk   | 15 +++++++++++++++
>  5 files changed, 39 insertions(+)
>  create mode 100644 package/python-lockfile/Config.in
>  create mode 100644 package/python-lockfile/python-lockfile.hash
>  create mode 100644 package/python-lockfile/python-lockfile.mk

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-12-25 21:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-25 19:38 [Buildroot] [PATCH/next 1/3] python-pbr: new package aduskett at gmail.com
2019-11-25 19:38 ` [Buildroot] [PATCH/next 2/3] python-lockfile: " aduskett at gmail.com
2019-12-25 21:00   ` Thomas Petazzoni [this message]
2019-11-25 19:38 ` [Buildroot] [PATCH/next 3/3] package/python-daemon: select python-lockfile aduskett at gmail.com
2019-12-25 21:00   ` Thomas Petazzoni
2019-12-25 20:45 ` [Buildroot] [PATCH/next 1/3] python-pbr: new package Thomas Petazzoni

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=20191225220004.0a9451f0@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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.