blob: 65feb218985552aa6df2f4fd42f79da208b04c45 [file] [log] [blame]
Brian Silverman20141f92015-01-05 17:39:01 -08001see ../README.txt for stuff affecting all code
Brian Silverman14fd0fb2014-01-14 21:42:01 -08002
3The folder is called linux_code because it mainly deals with code that uses the queue system, which only works under GNU/Linux for a variety of reasons, some fundamental (futexes) and some because nobody bothers to fix them.
4The layout is designed with multiple linux boxes in mind.
5
Brian Silverman20141f92015-01-05 17:39:01 -08006The code for the linux box that sends motor outputs etc is in ../prime/.
Brian Silverman14fd0fb2014-01-14 21:42:01 -08007
8[NOTES]
9Any code should call aos::Init() (or aos::InitNRT() for processes that don't need to be realtime) before making any calls to any of the aos functions.
10Making calls to any of the aos functions (including aos::Init()) from more than 1 thread per process is not supported, but using fork(2) after some aos functions have been called and then continuing to make aos function calls (without calling one of the exec(3) functions) in both processes is supported.