I once took an online programming course, and we were supposed to comment on each others code. I was critical of everyone's equally, and also tried to be positive about ways that stuff could be improved.
After that exercise I noticed that the one girl in the group didn't talk to me much anymore (online) and I got the distinct feeling that she felt my criticisms of her code were about her. Thing is, the criticisms weren't that out of the ordinary. Stuff like commenting things that were obvious or suggesting ways that she could tighten up her code. I was much more harsh with others. She's the only one who took offence and dropped out of the course. (I don't know if it was me that caused it, but I suspect it was part of the reason). Everyone else either took my critic's at face value or argued back about it. Of course this is a sample of one, so isn't significant.
In university the class ratio (in the early 80's) was about 50/50 girl/boys in the first year. second year more like 30/70. By the final year it was close to 10/90. I don't think this is due to the professors marking the girls harder, or letting the boys slip by. I think it was because the courses were tough and not interesting to the girls in general.
I really think there is a personality difference between men and women, and yes, when a woman overcomes that difference and is able to work with a group of guys she is the odd fish out, so it makes it more difficult. But that difficulty should not be blamed for the inequality in the first place.
Men and women just view things differently, and have different opinions on what is important. In some environments men excel, in others women do.
That's my view of it.