DAVE3, XMC4500 and Threads

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JanHasenbichler
Employee
Employee
Hi

I'm currently using DAVE3 with the XMC4500 board and I'd like to use Threads, but I am not able to include the header files needed to use threads (I was trying to include pthread.h)
Is it even possible to use threads? And if yes which header file do I have to include?

with friendly regards Jan Hasenbichler.
0 Likes
3 Replies
Not applicable
Hi Jan,

To use threads, scheduling in involved, therefore, you need to have an OS which is POSIX compliant.
0 Likes
User6412
Level 4
Level 4
The simplest way is to use the interrupts. It also faster and more compact.
0 Likes
JanHasenbichler
Employee
Employee
Ok thanks.

I haven't thought about that before. Maybe this is going to solve my problem.

with friendly regards Jan.
0 Likes