[PATCH] kernel32: add condition variables prototypes and tests (2nd try)

Dmitry Timoshkov dmitry at baikal.ru
Sun Sep 2 09:40:52 CDT 2012


Marcus Meissner <meissner at suse.de> wrote:

> +    if (!pInitializeConditionVariable) {
> +        skip("no condition variable support.\n");
> +        return;
> +    }

Probably this should be a win_slip().

> +    /* fprintf(stderr,"produced %d, c1 %d, c2 %d\n", totalproduced, cnt1, cnt2); */
> +
> +    /* The sleeps of the producer or consumer should not go above 10000, otherwise
> +     * the implementation does not sleep correctly. */
> +
> +    /* fprintf(stderr,"producer sleep %d, consumer sleep %d\n", condvar_producer_sleepcnt, condvar_consumer_sleepcnt); */

There is trace() for debug output, it's shorter and more convenient IMHO.

-- 
Dmitry.



More information about the wine-devel mailing list