Subject:
|
Re: threads - bug in the firmware?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Wed, 16 Jan 2002 21:32:42 GMT
|
Viewed:
|
1596 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
> the code hanging up. I can see nowhere where there can be a fault. I am a
> long way from being an
> expert, but is it possible there is a bug in the firmware? Would someone
As pointed by Albert Huang, you cannot call kill() with an "invalid" pid.
Actually, the comment above kill() in tm.c says:
//! kill a process
/*! \param pid must be valid process ID, or undefined behaviour will result!
The function updates data structures that are no longer allocated. In the
case of your program I don't if it corrupts the memory, but that's definitely
something you should check. ;)
Eric
--
email: eric.swalens@easynet.be
web: http://student.ulb.ac.be/~eswalens
icq: 2686881
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: threads - bug in the firmware?
|
| Hi again I have now totally stripped down my code to a minimum and I am still having problems with the code hanging up. I can see nowhere where there can be a fault. I am a long way from being an expert, but is it possible there is a bug in the (...) (22 years ago, 16-Jan-02, to lugnet.robotics.rcx.legos)
|
18 Messages in This Thread: ![threads -Mike McFarlane (14-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: threads -Mike McFarlane (15-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/246.gif) ![Re: threads -Albert Huang (15-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: threads -Mike McFarlane (16-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: threads -Albert Huang (16-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: threads -Mike McFarlane (17-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: threads - bug in the firmware? -Mike McFarlane (16-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/246.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: threads - bug in the firmware? -Michael Obenland (17-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/246.gif) ![Re: threads - bug in the firmware? -Mike McFarlane (17-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: threads - bug in the firmware? -Ross Crawford (17-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: threads - bug in the firmware? -Mike McFarlane (18-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: threads - bug in the firmware? -Ross Crawford (21-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: threads - bug in the firmware? -Michael Ash (18-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![More on threads -Michael Obenland (18-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: More on threads -Mike McFarlane (19-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: More on threads -Michael Obenland (19-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: More on threads -Michael Ash (19-Jan-02 to lugnet.robotics.rcx.legos)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|