CreateThread always ok, but CloseHandle fails sometimes

Started by cobold, May 22, 2009, 01:39:45 PM

Previous topic - Next topic

dedndave

well - the self-modifying code is slightly faster than the memory operand method, like this....

        xor     eax,eax

th1_00: cmp     eax,ThreadLock
        jnz     th1_00