I have a working bare metal project on K64 and need to update it with some extra features.
As it seems, I will need to use threads in my application, and since I'm new with this concept I wanted to ask, can I use posix threads or any other thread library for that matter without migrating my code to OS code?
It is currently runing at various customer sites with remote update amd boot loader features and I'm afraid doing large changes in the code which will take alot of time to debug.
Thanks.
解決済! 解決策の投稿を見る。
Prototreads will run on bare metal C.
Works best with GCC due to its calculated GOTO, which is all hidden from you.
Protothreads - Lightweight, Stackless Threads in C
You will have to change 'something' no matter what path you take.
Prototreads will run on bare metal C.
Works best with GCC due to its calculated GOTO, which is all hidden from you.
Protothreads - Lightweight, Stackless Threads in C
You will have to change 'something' no matter what path you take.
Hi roymessinger,
It seems pthread can't run in bare metal mode. It must base on a unix-like OS, such as FreeBSD, Linux. That is to say, you can't use posix threads or any other thread library for that matter without migrating you code to OS code.
Regards,
Jing