To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / *448 (-10)
  Re: Spawning threads in NBC
 
(...) I'm sure someone with some firmware knowledge will have a better answer for this, but my belief is that there are no smarts in the firmware for swapping threads during a wait - i.e. I bet it uses a full timeslice. I have done some BT logging (...) (18 years ago, 31-Jan-07, to lugnet.robotics.nxt)
 
  RE: Spawning threads in NBC
 
I don't know how the NXT-G thread/task scheduler works. Just wondering if anyone has any idea on the impact on execution performance when multiple threads are running? And how often threads are scheduled? For example, if you have a "main" thread (...) (18 years ago, 31-Jan-07, to lugnet.robotics.nxt)
 
  Re: Spawning threads in NBC
 
(...) I stop a thread the manual way: #define STOP_OTHER_THREAD() \ set bOtherThreadEnable, FALSE dseg segment bOtherThreadEnable byte TRUE ends thread main start OtherThread // John's great invention //... STOP_OTHER_THREAD() // ... endt thread (...) (18 years ago, 30-Jan-07, to lugnet.robotics.nxt)
 
  Re: Spawning threads in NBC
 
(...) I'm trying to leave you alone John, but I haven't been too successful :). (18 years ago, 30-Jan-07, to lugnet.robotics.nxt)
 
  Re: WIP - Red Quad
 
Hello Eric! (...) The legs show a high flexiblity! Great! Why are there wheels on the feets? Are there wheels so that they feets legs do not slipping away? I think a time abot the Mindstorms NXT and I think about how to use this in a Mecha. Nice to (...) (18 years ago, 30-Jan-07, to lugnet.build.mecha, lugnet.robotics.nxt, FTX)
 
  NBC and NXC API macro testing (bluetooth-related)
 
If you have 2 NXTs lying around and you are moderately interested in testing some potentially interesting new NBC and NXC API macros then I would definitely be interested in hearing from you via email. I have written a few additions to the NXTDefs.h (...) (18 years ago, 30-Jan-07, to lugnet.robotics, lugnet.robotics.nxt)
 
  Re: WIP - Red Quad
 
(...) Ah-ha! That explains my strange building habits lately. Hopefully the merger will mean I'll get an equal portion of the extensive Sophie part collection. I mean, if you doesn't know where he got it, you won't miss it right? -a (18 years ago, 30-Jan-07, to lugnet.build.mecha, lugnet.robotics.nxt)
 
  NXC/NBC release news
 
I have posted beta 24 of NBC/NXC. Here's the list of fixes and new features: Version 1.0.1.b24 ---...--- - Fixes a preprocessor bug in NBC and NXC that is triggered by not having a ')' at the end of a macro invocation (or anywhere following in the (...) (18 years ago, 29-Jan-07, to lugnet.robotics, lugnet.robotics.nxt)
 
  RE: Spawning threads in NBC
 
In practicality, it is not a good practice to kill another thread without some sort of synchronization anyway. However, if one thread is not responding for a long period of time, it will be good to allow the parent thread to terminate it. (...) (18 years ago, 29-Jan-07, to lugnet.robotics.nxt)
 
  Re: Spawning threads in NBC
 
(...) Unfortunately, there really isn't any way to implement a mechanism for stopping a thread from another thread (without firmware modifications). John Hansen (18 years ago, 29-Jan-07, to lugnet.robotics.nxt)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR