THE LINUX VERSION OF ARDUINO

Hi all

The LINUX version of arduino , is it capable of executing
LINUX commands like FORK() or THREADS?

I guesss not, but I need to know any way.

Elicko

Turn off your Caps Lock. We can all read.

Are FORK() and THREADS C or C++ commands? If not, then no.
I'm sure you could write a comparable C/C++ function to mimic them.

the arduino IDE is written in java, so the (linux) jvm runs it. The jvm undoubtedly uses fork because java is designed to be multi threaded.

The arduino does not run an operating system, so system calls like fork don't exist.

You've already asked this question - Arduino For Linux ? - Programming Questions - Arduino Forum

Threading and process spawning are hardly unique to Linux.

Thanks
Is there a way to write parallel functions/statements in ARDUINO ide ?

Elico

A number of people have written libraries to support parallel function execution.

https://www.google.com/search?q=arduino+multitasking+library

THE LINUX VERSION OF ARDUINO
...
The LINUX version of arduino , is it capable of executing
LINUX commands like FORK() or THREADS?

Arrghh! My eyes!

It's Linux, not LINUX, Arduino not ARDUINO, fork not FORK, and threads not THREADS.

Is there a way to write parallel functions/statements in ARDUINO ide ?

What is a parallel function? Please explain.

Well some one did port Linux to an AVR processor by adding extra memory in the form of SRAM and an SD card. He got it to run as well. It took 5 hours to boot up to the log in prompt.

Now Linux is a total pain, it destroys any real time operation quicker than 0.1 second but if you want to run Linux for some warped and twisted reason then you can always get a Raspberry Pi. They are available now on next day delivery.

Many thanks dxw00d !

Elico

elico:
The LINUX version of arduino , is it capable of executing
LINUX commands like FORK() or THREADS?

elico:
I am looking for details on a new rtos for embedded systems called uRTOS .
Could not find at google .

Still looking for that magic bullet, huh?

What is your project, exactly?