All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juan Linietsky <coding@reduz.com.ar>
To: alsa-devel@lists.sourceforge.net
Subject: Question regarding thread safety
Date: Fri, 7 Nov 2003 09:03:48 -0300	[thread overview]
Message-ID: <200311070903.48993.coding@reduz.com.ar> (raw)

Hello! I wish to implement a midi sensing thread which listens
in blocking mode to the midi port until there is data avaiable.
The purpose of this is so i can properly timestamp ANY incoming
realtime events (as events that are input via the midi port, or from clients 
that send in real time are not timestamped upon delivery).
But my doubt is how should I terminate this thread on driver exit...
should i attempt to unblocking it by closing the descriptor, or is there
anything else i could try?

Thanks!

Juan Linietsky



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

                 reply	other threads:[~2003-11-07 12:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200311070903.48993.coding@reduz.com.ar \
    --to=coding@reduz.com.ar \
    --cc=alsa-devel@lists.sourceforge.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.