From Valve Developer Community
Jump to: navigation, search

Code error?

Am I a bit confused, or should the first code example on this place be naming it's constructor CMyAsyncThread instead of CAsyncPingBackThread? I didn't want to change the example until I have input on this. monokrome 01:59, 20 June 2010 (UTC)

First parameter lost

When I try using this code it reports that "the parameters are (null), myval" (after I fix it so that they aren't swapped over). What's happening to the first argument? --TomEdwards 16:47, 6 September 2010 (UTC)

Not async!

Just to make matters worse, the thread class used here would seem designed for splitting load across cores - not for setting it running and continuing other execution! --TomEdwards 18:52, 6 September 2010 (UTC)