Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Unused function in SDK?
(1/1)
rickg22:
OK can someone explain to me why is this function in our codebase? :lol:
--- Code: --- /*
* This function is inherently unsafe!
* Also, if used on a thread belonging to a pool, it will not do what you think it does!
* Do not use this function unless you are sure you really know what you are doing.
*/
void MurderDeathKill()
{
Die();
wxMilliSleep(0);
wxMilliSleep(0);
if(this && IsRunning())
Kill();
};
--- End code ---
Edit: Not that it's bad at all, it just looked so... funny :)
MortenMacFly:
--- Quote from: rickg22 on June 22, 2007, 07:05:46 am ---Edit: Not that it's bad at all, it just looked so... funny :)
--- End quote ---
Sounds very much like Thomas to me... ;-) It's at least his kind of humor.. :lol: :lol: :lol:
Edit: Added forgotten "unds". ;-)
Navigation
[0] Message Index
Go to full version