All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] sms: Add delay before submitting multiple SMS to modem
Date: Thu, 23 Aug 2012 08:48:33 -0500	[thread overview]
Message-ID: <503634B1.90701@gmail.com> (raw)
In-Reply-To: <5035F205.8040008@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

Hi Guillaume,

<snip>

> Unfortunately I come to the conclusion that if I want to send one same
> SMS to 3/4/5/... recipients with an application using oFono middleware,
> I will not be able to send them through the same RRC channel, unless I
> queue them offline.
>

If such a feature is important, then you do have a point.  However, 
implementing _anything_ by introducing an arbitrary delay is simply 
wrong.  I believe they teach the reasons for that in Operating Systems 
101.  You are introducing a race condition that will break things at the 
most inopportune time.

If we really require multi-recipient SMS to go on the same RRC channel, 
then the best way to do so would be to introduce a new API specifically 
for this use case.

Regards,
-Denis

  reply	other threads:[~2012-08-23 13:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22  9:29 [PATCH] sms: Add delay before submitting multiple SMS to modem Guillaume Zajac
2012-08-22 22:57 ` Denis Kenzior
2012-08-23  9:04   ` Guillaume Zajac
2012-08-23 13:48     ` Denis Kenzior [this message]
2012-08-23 14:26       ` Guillaume Zajac
2012-08-23 17:33         ` Denis Kenzior
2012-08-24  8:16           ` Guillaume Zajac

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=503634B1.90701@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /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.