wine-kthread

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
rossettiroberto
Newbie
Newbie
Posts: 2
Joined: Thu May 29, 2008 1:03 pm

wine-kthread

Post by rossettiroberto »

i have install wine 9.60 on linux kernel 2.6.21 and by default wine work
with pthread if i force kthread any program like notepad produce segfault is possible use kthread with 2.6.21 kernel?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: wine-kthread

Post by vitamin »

rossettiroberto wrote:i have install wine 9.60 on linux kernel 2.6.21 and by default wine work
with pthread if i force kthread any program like notepad produce segfault is possible use kthread with 2.6.21 kernel?
Why would you want to use kthread with 2.6 kernel? It should work, but no one really tested it I guess with latest kernels for a while. Might have some bugs in there.
Alexandre Julliard

wine-kthread

Post by Alexandre Julliard »

"vitamin" <[email protected]> writes:
rossettiroberto wrote:
i have install wine 9.60 on linux kernel 2.6.21 and by default wine work
with pthread if i force kthread any program like notepad produce segfault is possible use kthread with 2.6.21 kernel?
Why would you want to use kthread with 2.6 kernel? It should work, but
no one really tested it I guess with latest kernels for a while. Might
have some bugs in there.
On any given setup, either wine-pthread or wine-kthread works, but not
both. That's the way it's supposed to be, and that's why we have two of
them. There's no reason whatsoever to force it to use the wrong one.

--
Alexandre Julliard
[email protected]
rossettiroberto
Newbie
Newbie
Posts: 2
Joined: Thu May 29, 2008 1:03 pm

Post by rossettiroberto »

ok i understand your anwser, but i explay better my problem.

In first time i use my application with wine 0.922 on kernel 2.3.31 and wine use kthread by default and my application have good performace and thread in my application work like windows, the graphics interface don't influece time critical thread now use kernel 2.6.21 and wine use automaticaly pthead and my application change performace on time critical thread, so i want try to use kthread.

What can i change in setup kernel or wine setup for use by default kthread?

thanks for help
Alexandre Julliard

wine-kthread

Post by Alexandre Julliard »

"rossettiroberto" <[email protected]> writes:
ok i understand your anwser, but i explay better my problem.

In first time i use my application with wine 0.922 on kernel 2.3.31
and wine use kthread by default and my application have good
performace and thread in my application work like windows, the
graphics interface don't influece time critical thread now use kernel
2.6.21 and wine use automaticaly pthead and my application change
performace on time critical thread, so i want try to use kthread.

What can i change in setup kernel or wine setup for use by default kthread?
The difference in behavior you see is not caused by kthread vs. pthread,
it's caused by the different kernels. If you want the old behavior you
should go back to the old kernel.

--
Alexandre Julliard
[email protected]
Locked