|
Hi to all,
I have an app that starts 10 threads. Each thread does it's work and waits (using the producer consumer model). So when more work comes along, one of the threads is unblocked and it does the work.
A colleague at work insists I should write ...
Started by JD on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
You should think about why it might freeze or die and if it did, now what you can doIdeally no, your threads....
First of all, you should focus on correctness so that it doesn't freeze or die from such a situation.
On the situation.
|
|
Example queries in some tutorials ALWAYS end with:
or die(mysql_error());
I can see why you would would sometimes want to do this, but they even use this for queries that really shouldn't cause a problem. Is it a good practice to always use this, or are...
Started by Brien on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
In production code, you may not wish to use die() to handle errors - you could perhaps run some custom code to deal with....
You don't necessarily need
or die()
But you should have some'.
Consider not having the or die there.
|
|
I have a laptop (Compaq Presario V5000). It's about 4 years old now. My dad bought it at Walmart on Black Friday for $389 (it only had 384MB of memory (now it has 2GB)). It has seen 3 Windows OS's and 4 Ubuntu's (I dual boot). The hard disk has begun ...
Started by Lucas McCoy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
From AMD Sempron 3300+ Processor Review :
The overclocking side was a bit more difficult than with a comparable Athlon 64 or Athlon 64 FX, as although the Sempron 3300+ supports Cool 'n Quiet technology, it had no facility to downshift the multipliers... .
|
Ask your Facebook Friends
|
Okay, I'm a bit knowledgeable with pooters and such, but i'm confused. My computer is dying slowly, and I'm not sure what part is causing this.
Computer details : Vista, dell machine, intel Q6600, 2.4 Core Duo (quad core), standard memory and drive (unknown...
Started by Will on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at superuser):
From experience I would is that you should start with the motherboard; you could consider ordering a new one and using.
Been doing any overclocking, you should definitely consider toning it down.
|
|
My Xbox died with a video glitch (not a traditional red ring) out of warranty. I'm about to call Microsoft to get it repaired. What can I expect?
What is a typical turnaround for an Xbox repair? What will they charge me for a repair? I am wondering if...
Answer Snippets (Read the full thread at superuser):
Microsoft will repair it and get it back to....
I saw some used ones cheap at some chain video game store around here recently .
Not sure if MS even repairs the original Xbox anymore .
You are going to be best off either fixing or replacing it on your own .
|
|
Should we let the pandas die out?
Imo, I agree with big chris. They are a waste of money and look bruised!
Discuss.
Started by BruceSpringsteen<3 on
, 20 posts
by 18 people.
Answer Snippets (Read the full thread at thestudentroom):
Re: Should we let the pandas die out?
Really? Re: Should we let the pandas die out....
Re: Should we let the pandas die out?
No.
They're beautiful animals.
Re: Should we let the pandas die out?
No.
|
|
So, alot of people died in Arkham City...whether they remain dead is another story.
There are rumors that Batman will die in The Dark Knight Rises...
Do you think Batman should die in Arkham 3?
If so, how do you see it happening?
Started by Killa_Moff on
, 15 posts
by 12 people.
Answer Snippets (Read the full thread at arkhamcity):
Some days you just can't get rid of a bomb!!! I agree, he should die, preferably in a big shock by an brainwashed ally or something like that- the last scene could , batman can't die I have no reasonable....
Not
And i don't like Twilight...
|
|
I think thet there should be a zelda game were link dies in the end.It would be so .No I am not crazy it would probably make zelda more popular.It should happen after the final boss,after the battle Link should just collpase from injuries,Oh so deadly...
Started by pokemaniac03 on
, 20 posts
by 15 people.
Answer Snippets (Read the full thread at zeldauniverse):
Yes, I have though of many end should Link die at the end of a game? It irritates me when people want Zelda to be dark for no reason it's "dark" and "cool....
It's where the DT came from.
|
|
Should the Scorpion and the Vulture die ?
I mean it with the Vulture's age it is surprising that nobody has done him in and the Scorpion should just die, given his long exposure to the Venom Symboite messed with his already mutated Genetics. :frown:
...
Started by CMBMOOL on
, 15 posts
by 15 people.
Answer Snippets (Read the full thread at comicbookresources):
I ....
Should the Scorpion and the Vulture die their return is so inevitable.
He is the real deal.
Him in and the Scorpion should just die, given his long exposure to the Venom Symboite messed with his tries to redeem himself.
|
|
As a DM with a group that can get very angry in some situations, I've avoided the use of Save or Die spells and SLAs against Player Characters. I have used spells like Harm which reduces the PC to 1 hit point (if they fail a save) and had them almost ...
Started by HunterOfJello on
, 20 posts
by 18 people.
Answer Snippets (Read the full thread at giantitp):
Save? All you're doing is babying them at this....
|