|
Is it safe to use dynamic allocations in a mission-critical / life-critical system, or should it be avoided?
Started by Lior Kogan on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
In general, however; no, since the systems you describe are... .
If you are writing this sort of software you ought to have a big book for the specification you are conforming to (FAA, NATO, FDA, whatever) of what you can and cannot do, and it will tell you .
|
|
Are these actually three different concepts or am I getting jumbled? (I've been reading articles about threading and garbage collection together and have confused myself.)
"Critical section" - I think this may just be the term for sections of code that...
Started by J M on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
According to Concurrent Programming on Windows by Joe Duffy the definitions for critical section/region are as follows:
Critical section : In Win32 critical section is a simple data structure ( CRITICAL_SECTION ) used to build....
|
|
I critically fumbled, fell out of rage and diededed! [critical fumble stories]
So during the final moments of our last session yesterday, my character died.
We were in an encounter with a Huge troll who was on the opposite side of a sliding door he pushed...
Started by Morph Bark on
, 24 posts
by 15 people.
Answer Snippets (Read the full thread at giantitp):
The Character behind my username....
I hope we both know better now.
Re: I critically fumbled, fell out of rage and diededed! [critical fumble stories]
DISCLAIMER: This story took place when my DM at the time and I were barely in HS, prior to 3.0.
|
Ask your Facebook Friends
|
How to differentiate critical windows updates among all updates in c++
Started by Shushanik on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can't, as how can you determine heuristically that one update is critical and the other is non-critical?...this is where a human steps in to check and determine from another source such as the Knowledge-base to base the decision on that....
|
|
Answer Snippets (Read the full thread at stackoverflow):
Invoking the kill....
If you choose to ignore my warning, here is some sample C++ code to do it .
The best way is to shut down the box lest you leave it in a dangerous state .
It's critical for a reason so you probably shouldn't be killing it at all.
|
|
Could someone please explain to me what we refer to as life critical information and to what we refer to as mission critical information. I was searching the internet for hours but I could not find an exact definition, or at least examples of what this...
Started by Kapila on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
For example, if you have some type of weapon that requires a special code sequence to activate... .
I've not heard the term "life critical" before, but mission critical information implies that, without this information, the "mission" would fail.
|
|
I was debugging a multi-threaded application and found the internal structure of CRITICAL_SECTION . I found data member LockSemaphore of CRITICAL_SECTION an interesting one.
It looks like LockSemaphore is an auto-reset event (not a semaphore as the name...
Started by aJ on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
So in the case where the holder of the lock gets out quickly, you never ... .
After the spin count 'times out', it will then fall back to the kernel event .
The CriticalSections will spin a short while (few hundred ms) and keep checking if the lock is free .
|
|
If you were going to write some safety-critical software, what language would you prefer and why?
Started by marcumka on
, 20 posts
by 20 people.
Answer Snippets (Read the full thread at stackoverflow):
Eiffel offers Design By Contract, which is supposed to improve... .
I've never used the language, but it's on my list of "to learn", along with Eiffel .
I believe Ada is still in use in some government projects that are safety and/or mission critical.
|
|
I've started a conversion of a project to Moose and the first thing I noticed was that my critic/tidy tests go to hell. Moose, Tidy and Critic don't seem to like each each other as much as they used to.
Are there docs anywhere on how to make critic/tidy...
Started by claco on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I have no problem with Critic tests examples of the problems you're having with Perl::Critic? I don't think any of the core P::C team are using Moose right now, so maybe....
It, as some old versions gave some incorrect errors in Moose classes .
|
|
I've written a simple test case based on Test::Perl::Critic which runs critic on every single source file in the repository ( all_critic_ok ). However, this test takes a long time, especially since I also use a Perl::Tidy policy.
Normally, criticizing...
Started by rassie on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For example, Perl-Critic itself has three Test::Perl::Critic scripts: one for checking application code, one for test code, and another your code into at least two logical....
Test::Perl::Critic test scripts might not be such a bad idea.
|