Click here to Skip to main content
15,890,845 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.

 
AnswerRe: Octopus Pin
DerekT-P13-Dec-21 0:13
professionalDerekT-P13-Dec-21 0:13 
GeneralRe: Octopus Pin
oofalladeez34313-Dec-21 15:48
professionaloofalladeez34313-Dec-21 15:48 
AnswerRe: Octopus Pin
CodeWraith13-Dec-21 0:16
CodeWraith13-Dec-21 0:16 
AnswerRe: Octopus Pin
Marc Clifton13-Dec-21 5:25
mvaMarc Clifton13-Dec-21 5:25 
GeneralRe: Octopus Pin
Gary R. Wheeler13-Dec-21 7:25
Gary R. Wheeler13-Dec-21 7:25 
GeneralThe kind of crap people get away with in an RTOS floors me Pin
honey the codewitch12-Dec-21 17:12
mvahoney the codewitch12-Dec-21 17:12 
GeneralRe: The kind of crap people get away with in an RTOS floors me Pin
lmoelleb12-Dec-21 20:08
lmoelleb12-Dec-21 20:08 
GeneralRe: The kind of crap people get away with in an RTOS floors me Pin
Daniel Pfeffer12-Dec-21 21:28
professionalDaniel Pfeffer12-Dec-21 21:28 
Yes, it's nasty, but synchronization primitives can add a lot of overhead to a task, and make the task non-restartable. For example, take the case where a thread in the task takes ownership of a mutex then crashes. How do you know what the state of the mutex should be? You can possibly detect the crashed thread, but restoring the task to a consistent state without restarting from the beginning is much more difficult.

(I'm not going to do more than mention deadlocks, livelocks, priority inversions, convoying, and all of the other issues that can occur with lock-based multithreading. Even where fixes are possible, many small processors simply don't have the horsepower to handle all of these issues.)
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: The kind of crap people get away with in an RTOS floors me Pin
honey the codewitch12-Dec-21 22:36
mvahoney the codewitch12-Dec-21 22:36 
GeneralRe: The kind of crap people get away with in an RTOS floors me Pin
obermd13-Dec-21 3:36
obermd13-Dec-21 3:36 
JokeIf global warming is real... Pin
OriginalGriff12-Dec-21 10:00
mveOriginalGriff12-Dec-21 10:00 
GeneralRe: If global warming is real... Pin
PIEBALDconsult12-Dec-21 12:36
mvePIEBALDconsult12-Dec-21 12:36 
GeneralRe: If global warming is real... Pin
OriginalGriff12-Dec-21 19:45
mveOriginalGriff12-Dec-21 19:45 
GeneralRe: If global warming is real... Pin
Daniel Pfeffer12-Dec-21 21:32
professionalDaniel Pfeffer12-Dec-21 21:32 
GeneralRe: If global warming is real... Pin
Sander Rossel12-Dec-21 22:57
professionalSander Rossel12-Dec-21 22:57 
GeneralRe: If global warming is real... Pin
Chris Losinger13-Dec-21 6:36
professionalChris Losinger13-Dec-21 6:36 
GeneralRe: If global warming is real... Pin
j snooze13-Dec-21 11:23
j snooze13-Dec-21 11:23 
JokeRe: If global warming is real... Pin
oofalladeez34314-Dec-21 9:54
professionaloofalladeez34314-Dec-21 9:54 
GeneralThe evolution of a coder Pin
honey the codewitch12-Dec-21 7:32
mvahoney the codewitch12-Dec-21 7:32 
GeneralRe: The evolution of a coder Pin
dandy7212-Dec-21 7:36
dandy7212-Dec-21 7:36 
GeneralRe: The evolution of a coder Pin
honey the codewitch12-Dec-21 7:38
mvahoney the codewitch12-Dec-21 7:38 
GeneralRe: The evolution of a coder Pin
Randor 12-Dec-21 8:34
professional Randor 12-Dec-21 8:34 
GeneralRe: The evolution of a coder Pin
honey the codewitch12-Dec-21 8:46
mvahoney the codewitch12-Dec-21 8:46 
GeneralRe: The evolution of a coder Pin
LucidDev13-Dec-21 7:02
LucidDev13-Dec-21 7:02 
GeneralRe: The evolution of a coder Pin
Daniel Pfeffer12-Dec-21 21:35
professionalDaniel Pfeffer12-Dec-21 21:35 

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.