October 5th, 2005, 11:01 PM
why won't this code eat up my resources..
shouldn't it multiply and slow down my system.
int x = 1;
October 5th, 2005, 11:09 PM
try this for a fork bomb.
Antionline in a nutshell
\"You\'re putting the fate of the world in the hands of a bunch of idiots I wouldn\'t trust with a potato gun\"
Trust your Technolust
October 5th, 2005, 11:21 PM
ummm... I may be just being stupid here...
But I don't see any functional difference between those, aside from the #include, which I assume unhappy simply didn't paste.
What's the difference?
Government is like fire - a handy servant, but a dangerous master - George Washington
Government is not reason, it is not eloquence - it is force. - George Washington.
Join the UnError
October 5th, 2005, 11:59 PM
what's that? please give a brief intro...
buat baik berpada-pada,buat jahat jangan sekali
October 6th, 2005, 06:40 AM
While the first example by unhappy simply declares a function fork()
with "void fork(int);" the second by hogfly actually calls system's
fork()-function thus spawning a child process.
If the only tool you have is a hammer, you tend to see every problem as a nail.
(Abraham Maslow, Psychologist, 1908-70)