All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brice DUBOST <braice@braice.net>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] Problem with libdvben50221
Date: Sat, 13 Dec 2008 17:49:49 +0100	[thread overview]
Message-ID: <4943E7AD.3020608@braice.net> (raw)

Hello

I'm currently playing around with the libdvben50221
I started from the code of gnutv and zap_ca
It works very well but I have one problem.

When I close the cam my program is freezed when I do :

cam_params->stdcam->destroy(cam_params->stdcam, 1);

cam_params is a structure wich contains my cam parameters

I looked a bit more in the code and I discover that the freezing point is :
 pthread_mutex_lock(&tl->slots[slot_id].slot_lock);

  I give you some manual backtrace :
  en50221_tl_destroy_slot(llci->tl, llci->tl_slot_id);
  llci_cam_removed(llci);
  static void en50221_stdcam_llci_destroy(struct en50221_stdcam *stdcam,
int closefd)

Gnutv does not experience this freezing.

Do you have an idea of what can it be ?

Regards,



-- 
Brice

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting annoying in email?

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

                 reply	other threads:[~2008-12-13 21:42 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=4943E7AD.3020608@braice.net \
    --to=braice@braice.net \
    --cc=linux-dvb@linuxtv.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.