Subject:
|
Re: legOS - Does it work for you?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Thu, 31 Dec 1998 16:59:51 GMT
|
Original-From:
|
Ben Laurie <BEN@ALGROUP.COnospam.UK>
|
Viewed:
|
1552 times
|
| |
| |
Rick Kimball wrote:
>
> lego-robotics@crynwr.com (Ben Laurie) writes:
> > Rick Kimball wrote:
> > It might be worth picking up the standard malloc/free and seeing if they
> > work any better.
>
> Ben you were right! I replace the malloc/free routines with
> a very simple array based allocation scheme and everything
> works great. I guess the other malloc I grabbed off the net
> wasn't any good either.
Not necessarily - it may be that the replacement happens to put things
were some memory corruption doesn't hit them...
Cheers,
Ben.
--
Ben Laurie |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd, |Apache-SSL author http://www.apache-ssl.org/
London, England. |"Apache: TDG" http://www.ora.com/catalog/apache/
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message has 1 Reply: | | RE: legOS - Does it work for you?
|
| (...) Not sure if this is your problem, but most malloc implementations are not thread safe. Try putting your old malloc back with a lock around it and see if that improves it. -Allen -- Did you check the web site first?: (URL) (26 years ago, 31-Dec-98, to lugnet.robotics)
|
Message is in Reply To:
| | Re: legOS - Does it work for you?
|
| (...) Ben you were right! I replace the malloc/free routines with a very simple array based allocation scheme and everything works great. I guess the other malloc I grabbed off the net wasn't any good either. Thanks! (26 years ago, 31-Dec-98, to lugnet.robotics)
|
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|