From: "Stotland, Inga" <inga.stotland@intel.com>
To: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Cc: "luiz.dentz@gmail.com" <luiz.dentz@gmail.com>,
"johan.hedberg@gmail.com" <johan.hedberg@gmail.com>
Subject: Re: [PATCH BlueZ 0/1 v3] ELL based mainloop
Date: Wed, 25 Sep 2019 18:19:53 +0000 [thread overview]
Message-ID: <fb9e9c39bf24900c84bd7fe63d91c8443895ee3e.camel@intel.com> (raw)
In-Reply-To: <20190811070045.15406-1-inga.stotland@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]
Ping
On Sun, 2019-08-11 at 00:00 -0700, Inga Stotland wrote:
> + timeout-ell.c
>
> This patch addresses a need to enable using common mainloop for the
> ell-based apps that desire to use common bluetooth fuctionality
> (e.g., bt_shell).
>
> Note: A bit awkward callback handling there is due to the discrepancy
> in the arg type for signo (signal number).
>
> src/shared/mainloop.h:
> typedef void (*mainloop_signal_func) (int signum, void *user_data)
>
> and ell/main.h:
>
> typedef void (*l_main_signal_cb_t) (uint32_t signo, void *user_data)
>
> My guess is that ell derives the unsigned int type from
> <sys/signalfd.h>,
> where ssi_signo is defined as uint32_t. BlueZ is probably following
> the
> standard Linux signal handling, where signal is represented as an
> int.
>
> Inga Stotland (1):
> shared/mainloop: Add ell-based mainloop implementation
>
> Makefile.am | 11 +++-
> src/shared/mainloop-ell.c | 126
> ++++++++++++++++++++++++++++++++++++++
> src/shared/timeout-ell.c | 72 ++++++++++++++++++++++
> 3 files changed, 206 insertions(+), 3 deletions(-)
> create mode 100644 src/shared/mainloop-ell.c
> create mode 100644 src/shared/timeout-ell.c
>
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3265 bytes --]
next prev parent reply other threads:[~2019-09-25 18:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-11 7:00 [PATCH BlueZ 0/1 v3] ELL based mainloop Inga Stotland
2019-08-11 7:00 ` [PATCH BlueZ 1/1 v3] shared/mainloop: Add ell-based mainloop implementation Inga Stotland
2019-09-25 18:19 ` Stotland, Inga [this message]
2019-09-27 14:38 ` [PATCH BlueZ 0/1 v3] ELL based mainloop Luiz Augusto von Dentz
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=fb9e9c39bf24900c84bd7fe63d91c8443895ee3e.camel@intel.com \
--to=inga.stotland@intel.com \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/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).