Click here to Skip to main content
15,166,587 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Member 133016792-Mar-21 14:39
MemberMember 133016792-Mar-21 14:39 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
honey the codewitch2-Mar-21 15:26
mvahoney the codewitch2-Mar-21 15:26 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Member 133016792-Mar-21 20:59
MemberMember 133016792-Mar-21 20:59 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
honey the codewitch3-Mar-21 1:41
mvahoney the codewitch3-Mar-21 1:41 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Member 133016793-Mar-21 1:46
MemberMember 133016793-Mar-21 1:46 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Greg Utas27-Feb-21 14:43
mveGreg Utas27-Feb-21 14:43 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
markrlondon27-Feb-21 14:56
Membermarkrlondon27-Feb-21 14:56 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Espen Harlinn27-Feb-21 15:57
professionalEspen Harlinn27-Feb-21 15:57 
If I understand the docs[^] correctly, FreeRTOS is quite limited with regard to multi-core support. I am certainly no FreeRTOS expert, but the docs seems to say that it can multi task using a single core well enough, but if you want to use multiple cores you in for some serious programming …

Since you have been writing quite a bit about it lately, I was starting to get interested in the thing - a nice tiny core with SMP support would certainly interesting. Are you actually getting true concurrency with the thing, or is the scheduler just using one core at a time? That could certainly explain the deterministic behavior.
Espen Harlinn
Senior Architect - Ulriken Consulting AS

The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague.Edsger W.Dijkstra

GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
honey the codewitch27-Feb-21 16:16
mvahoney the codewitch27-Feb-21 16:16 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Espen Harlinn27-Feb-21 16:28
professionalEspen Harlinn27-Feb-21 16:28 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
honey the codewitch27-Feb-21 21:01
mvahoney the codewitch27-Feb-21 21:01 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Espen Harlinn28-Feb-21 6:39
professionalEspen Harlinn28-Feb-21 6:39 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
markkuk27-Feb-21 23:18
Membermarkkuk27-Feb-21 23:18 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
honey the codewitch28-Feb-21 3:00
mvahoney the codewitch28-Feb-21 3:00 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Daniel Pfeffer27-Feb-21 23:17
professionalDaniel Pfeffer27-Feb-21 23:17 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
honey the codewitch28-Feb-21 2:59
mvahoney the codewitch28-Feb-21 2:59 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Daniel Pfeffer28-Feb-21 4:20
professionalDaniel Pfeffer28-Feb-21 4:20 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
honey the codewitch28-Feb-21 4:22
mvahoney the codewitch28-Feb-21 4:22 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Sander Rossel28-Feb-21 0:13
professionalSander Rossel28-Feb-21 0:13 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
Martijn Smitshoek28-Feb-21 23:39
MemberMartijn Smitshoek28-Feb-21 23:39 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
CARNESECCHILuc1-Mar-21 0:42
MemberCARNESECCHILuc1-Mar-21 0:42 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
honey the codewitch1-Mar-21 4:10
mvahoney the codewitch1-Mar-21 4:10 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
obermd1-Mar-21 4:16
Memberobermd1-Mar-21 4:16 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
milo-xml1-Mar-21 5:41
professionalmilo-xml1-Mar-21 5:41 
GeneralRe: And when you depend on multithreading to be unpredictable, it isn't! Pin
honey the codewitch1-Mar-21 5:46
mvahoney the codewitch1-Mar-21 5:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.