All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Karl Reichert" <Karl-Trampe@domain.hid>
To: xenomai@xenomai.org
Cc: RTnet-users@domain.hid
Subject: [Xenomai-help] Problems with Threads and RTnet
Date: Wed, 25 Jun 2008 17:49:36 +0200	[thread overview]
Message-ID: <20080625154936.18590@domain.hid> (raw)

Hello list,

I have some problems with RTnet and threads. I create two thread via rt_task_spawn(), one is sending and one is receiving (non-blocking) frames over rtnet.

Each task is existed with return (I also tried rt_task_delete()) and the main-function is waiting for task-termination via rt_task_join().

When I run this program the first time, everything is fine. When I run it a second time without rebooting, I can't receive any more frames (returnvalue -1).

So it seems that the termination of the tasks and the main-function from the first run failed to free the "RTnet resources", too.

Any idea, what I'am doing wrong?

Thanks in advance
(... and good luck to the german team, for all the soccer fans out there)
Karl
-- 
von Karl Reichert



             reply	other threads:[~2008-06-25 15:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 15:49 Karl Reichert [this message]
2008-06-25 15:56 ` [Xenomai-help] Problems with Threads and RTnet Gilles Chanteperdrix
2008-06-26  4:01 ` [Xenomai-help] how to make my own application in Xenomai indra sakti
2008-06-26  6:41   ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2008-06-26 10:03 [Xenomai-help] Problems with Threads and RTnet Karl Reichert
2008-06-30  8:40 ` Karl Reichert
2008-06-30 13:49   ` Gilles Chanteperdrix
2008-07-01  7:45     ` Karl Reichert
2008-07-01  8:47       ` Jan Kiszka
2008-07-01 14:11         ` Karl Reichert

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=20080625154936.18590@domain.hid \
    --to=karl-trampe@domain.hid \
    --cc=RTnet-users@domain.hid \
    --cc=xenomai@xenomai.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.