News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Moving the parsing to the mainthread?

Started by rickg22, December 24, 2005, 06:01:33 PM

Previous topic - Next topic

rickg22

I was wondering if there's any "quick-hack" way to do the parsing in the *main* thread, because I've seen no other way of profiling. If anybody knows a way, I'd really appreciate it.

Thanks!

rickg22

Ah, I found the way! :)

parser.cpp: 697


#if 1
        thread->Parse();
#else
m_Pool.AddTask(thread, true);
#endif


If i want to stop profiling, i just put a 0 after the #if :)