alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Make snd_device_name_hint() reentrant
@ 2013-01-31 14:47 Jerome Forissier
  2013-01-31 14:47 ` [PATCH 1/3] Add snd_lib_error_set_local() to install a thread-local error handler Jerome Forissier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jerome Forissier @ 2013-01-31 14:47 UTC (permalink / raw)
  To: alsa-devel; +Cc: Jerome Forissier

The following 3 patches ensure that snd_device_name_hint() does not mdify
any global variable. They fix spurious error messages that may occur when
the function is called from multiple threads simultaneously.

Jerome Forissier (3):
  Add snd_lib_error_set_local() to install a thread-local error handler.
  snd_device_name_hint(): do not change the global error handler.
  snd_device_name_hint(): do not use global snd_config.

 configure.in           | 10 ++++++++
 include/error.h        |  6 +++++
 src/control/namehint.c | 67 ++++++++++++++++++++++++++++----------------------
 src/error.c            | 24 +++++++++++++++++-
 4 files changed, 76 insertions(+), 31 deletions(-)

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-31 14:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31 14:47 [PATCH 0/3] Make snd_device_name_hint() reentrant Jerome Forissier
2013-01-31 14:47 ` [PATCH 1/3] Add snd_lib_error_set_local() to install a thread-local error handler Jerome Forissier
2013-01-31 14:47 ` [PATCH 2/3] snd_device_name_hint(): do not change the global " Jerome Forissier
2013-01-31 14:47 ` [PATCH 3/3] snd_device_name_hint(): do not use global snd_config Jerome Forissier

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).