Re: [xml] windows multi-threading

That one does compile. Get a warning now:
..\threads.c(702) : warning C4020: 'InterlockedIncrement' : too many actual parameters

Shouldn't it be:
if (InterlockedIncrement(&run_once.control) == 1)

removed the second parameter and test == 1 (otherwise go into a nice forever loop calling Sleep(0))


Rich Salz wrote:

thanks.  try this patch.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]