From: Stephan Zimmermann <s.zimmermann@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Meassage Queue c++
Date: Fri, 20 Jan 2006 09:14:37 +0100 [thread overview]
Message-ID: <200601200914.37506.s.zimmermann@domain.hid> (raw)
In-Reply-To: <43CFC6B5.8080308@domain.hid>
Am Donnerstag, 19. Januar 2006 18:04 schrieb Nathaniel Villaume:
> Hi Stephan,
>
> I don't know if it is related, but I wouldn't return a pointer to a
> local variable:
>
> void *data;
> ...
> return data;
>
> Maybe something is happening where when the queue is empty the size is 0
> --so malloc returns who-knows-what?
Hi,
thanks for the hint, but I don't think this is the Problem, because the
Program crashes befor the read function returns. I think it is related with
the way I create/bind the queue in the constructor, but I am not sure.
Please don't think too much about it, I decided to stop my c++
realtime-experiments anyway, will code plain c instead.
Greetings, Stephan
next parent reply other threads:[~2006-01-20 8:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <43CFC6B5.8080308@domain.hid>
2006-01-20 8:14 ` Stephan Zimmermann [this message]
2006-01-20 8:37 ` [Xenomai-help] Meassage Queue c++ Jan Kiszka
2006-01-20 8:48 ` Stephan Zimmermann
2006-01-20 9:30 ` Jan Kiszka
2006-01-20 12:13 ` Stephan Zimmermann
2006-01-24 16:42 ` Stephan Zimmermann
2006-01-18 13:44 Stephan Zimmermann
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=200601200914.37506.s.zimmermann@domain.hid \
--to=s.zimmermann@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.