Questions tagged [threads]

Threads are different processes that a device runs at once. Unless it has multiple cores, it has to switch between the threads to ensure that all the threads get ran.

30 questions
6
votes
2 answers

What’s the most common (and low cost) microprocessor with at least two threads?

I want to make a next version of my current project. I’m hoping to use an Arduino compatible processor that also supports at least 2 processes simultaneously without using pro threading or any other software workaround. The more commonly used the…
1
vote
1 answer

mthread and multiple header files

I'm using mthreads (https://github.com/jlamothe/mthread) for my arduino. But now as the project is getting bigger, it would make sense to break it up in several files. I successfully outsourced already a part which is not threaded. But somehow I…
jblaze
  • 25
  • 1
  • 10
0
votes
1 answer

Embedded-c, schedule a function?

Simple question, of course if you do this FunctionA(); Delay(1000); FunctionB(); FunctionC(); it will call A, then wait a second, then call B, then call C. How does one do this? ... FunctionA(); .. Invoke FunctionX one second from now…
Fattie
  • 101
  • 2