Started playing with Wineserver on mingw/cygwin again
weigand at immd1.informatik.uni-erlangen.de
Thu Feb 6 16:06:27 CST 2003
Eric Pouech wrote:
> Ulrich Weigand wrote:
> > LDT sharing should not be a problem (there were bugs in kernels 2.0.x
> > w.r.t. that issue, but those are long since fixed). The core problem
> > with the LDT was that the LinuxThreads implementation used to allocate
> > entries with modify_ldt, and Wine would do the same, without any
> > coordination between the two. This is no longer a problem as the new
> > ntpl thread library does not use the LDT at all anymore.
> I thought there were also issues where a LDT wasn't correctly inherited
> thru clone(), but I may be mistaken on that one.
That's the 2.0.x issue I was talking about. I'm not aware of LDT sharing
problems with more recent kernels. In any case, we are using clone right
now, and do share LDTs, so it should work just the same if clone is called
via pthread_create ...
Dr. Ulrich Weigand
weigand at informatik.uni-erlangen.de
More information about the wine-devel