On Sat, Apr 19, 2014 at 8:30 PM, YAMAMOTO Takashi
<[email protected]> wrote:
>> ovsdb-server on windows crashes without it.
>>
>> Signed-off-by: Gurucharan Shetty <[email protected]>
>
> why is it necessary on windows?
I see why this patch is not correct. There is a dynamic initialization
of the mutex in netdev_initialize().
For the question on why this was necessary on Windows, I see the
following behavior.
With gcc on Linux, the following code works without the initialization:
pthread_mutex_t test_lock;
main()
{
pthread_mutex_lock(&test_lock);
printf("Inside mutex");
pthread_mutex_unlock(&test_lock);
}
With Visual studio the same code crashes.
I will update this patch when I re-spin the series.
Thanks,
Guru
>
> YAMAMOTO Takashi
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev