General :: Wine Using Both Of Cpu Threads?
Dec 19, 2010
I was installing a game on my netbook with wine and it seems that it's using both of the cpu threads.
Did wine fix the multi-thread bug?
EDIT:
Sorry to get anyones hopes up, but I did later find that I was misreading some data. When I saw it say 100% cpu usage I thought it meant both threads, but I later found out that it only applied to one thread.
View 2 Replies
ADVERTISEMENT
Jan 3, 2011
How do you find your threads and posts sorted with the latest first?
View 1 Replies
View Related
Sep 21, 2010
So I have apache running on my local computer. When I open up local development sites in tabs in my browser, apache threads are started. That's as it should be. However, when I close the tabs, close the browsers, and then run system monitor/system task manager, I get a long list of apache threads that are sleeping, waiting around for god knows what. How do I get these apache threads to stop hanging around?
View 1 Replies
View Related
Dec 18, 2009
Lot of questions about WINE... When I'm done I'm going to make a HOWTO so that others can do what I did It's hard work, but I'm nearly done.The last problem I'm having is the WINE menu on GNOME won't show up after a install of WINE from a .deb package (it usually does). This was after I compiled WINE from source and removed it with "make uninstall" and "rm -rf /.wine".So now I installed the WINE from a deb package and the Wine menu entry is not showing up.I've tried re-installing Wine and rebooting my PC but nothing seems to work.
View 3 Replies
View Related
Apr 30, 2010
I have created a simple download schedular with source-code give below :
---------------------record_strokes.sh-------------------
touch /home/student/packs/lynx/logfile
lynx -cmd_log /home/student/packs/lynx/logfile
[code]....
View 1 Replies
View Related
Sep 22, 2010
I wrote a program that multiplies 2 matrices using multi-threads and another one using multiple processes and shared memory. Both in C.I need to find the total memory usage of these programs. I know of the top command, but when my matrices are relatively small they don't even show up on top because they complete so fast, how can I find the memory usage for these instances?Also, how can I find the total turnaround time of my programs
View 1 Replies
View Related
Mar 19, 2010
when I tried to install wine I got "Missing Dependency: wine-gecko is needed by package wine"so I looked for wine-gecko and download it but also when I tried to install it I got "Missing Dependency: wine-gecko is needed by package wine"it seems that I am in loop each package need the other what to do please?
View 1 Replies
View Related
Mar 7, 2011
am using zabbix open source solution for systems monitoring. I am facing a problem and discussed it on zabbix forum. my post was as "My zabbix server is behaving abnormally, approximately daily from 9 to 12, the server stop accumulating logs. I observed that the server report is RUNNING but it did not accumulate log values and also the machine have no extra load. Its shown in the graph image attached.t the following reply,"database performance?are you monitoring database IO and available database threads? "So any one have any idea that how can I do this as I am using MySQL as backend database on RHEL 3.
View 1 Replies
View Related
Dec 1, 2010
I have two threads & i want to run it continuously ,with while(1) it is possible . Is there any other way to run the threads continuously
View 12 Replies
View Related
Nov 25, 2010
In all the examples I have found the server accepts the client's conection, proccess the data received and close the socket. In an very schematic way it would be something like:
Code:
client_thread{
select to see if there is data to read from socket fd
if there is something to read{
[code]....
Should I use mutexs or semaphores to block the socket fd before read and write or it is not necesary?
View 4 Replies
View Related
Dec 29, 2010
How to list all the threads spawned by a process?
View 4 Replies
View Related
Mar 26, 2011
I wrote a C program using Pthreads to compute the product of 2 matrices. Each element in the product matrix is computed in a separate thread. Eg: Thread (i,j) computes the element C[i][j] of the matrix C, where C=A*B. A is m*n, B is n*p, C is m*p. m,n,p are given as command-line arguments. A and B are initialized to random values from 1 to 10, while all elements of C are initialized to -1.But some threads do not get their arguments (i,j) correctly. So some elements C[i][j] still remain as -1, even after the program is over. My OS is Ubuntu 10.10 (Maverick Meerkat) 32-bit.I ran the program on another computer and it worked correctly. Is it due to a problem in the Pthreads library in my OS? Please help me. I have attached the source code.
View 3 Replies
View Related
Jan 11, 2010
I'm trying to create n number of threads, but I would like to read a cfg file at run time, I've been experimenting with ifstream but Im not having any luck.
View 1 Replies
View Related
Mar 29, 2011
I have doubt regarding cpu sharing between process and threads.In my program iam creating 4threads=> 1 process+4 threads. How is cpu alloted to these all tasks. Is here process is getting cpu time like thread or having more cpu time than threads.
View 1 Replies
View Related
Dec 14, 2010
In posix multi threading, how to send thread1 local data to thread2...?
View 3 Replies
View Related
Nov 26, 2010
Code:
void* thread(void* arg)
{
[code]....
View 5 Replies
View Related
Mar 15, 2011
I have 2 threads and both of them are deleting memory at the end nedded by both.
My problem is that maybe it can happen that a thread start and finish before the other one starts and so it deletes the memory nedded by the other thread. How can I synchronize them so that this can't happend.
As a design my threads look like this:
Code:
The other thread looks the same, but this isn't unoff to stop thread1 to finish before thread2 starts.
View 4 Replies
View Related
May 20, 2009
There is a transient bug in my code which I just can't catch.
The basic idea is this. I have a multithreaded server and two thread pools, the IO pool and Worker pool. The main server thread listens to incoming connections. When it gets one, it dispatches a thread from the IO pool to read the socket. An IO thread reads the socket. If there is data, it invokes a thread from the Worker pool. This thread then finishes off the processing including closing the socket. The code follows.
Before I show the code, let me tell you what's happening when I am testing it. I have a client program which has about 30 threads, each opening a separate socket connection with the server. Each sends a request which the server responds to. Sometimes I have all the threads finish in a zip. Sometimes both the client and the server hangs. And yet at other times, the client gets a connection refused message.
Now the code. I have omitted some of the nitty-gritties, including possibly variable declarations. I'll post them if it's required.
View 1 Replies
View Related
Jul 8, 2009
I have a multi-threaded application using pthreads. On application crash or when signalling with 'kill -s 6' the core file created by the 2.6.18-128 kernel on CentOS 5.3 shows only one single thread. Core file saved with gcore in gdb shows all running threads properly so the problem is clearly in the kernel. I tested CentOS 5.2 (kernel 2.6.28-92) and it works correctly.
what's wrong with CentOS 5.3 kernels?
View 1 Replies
View Related
Feb 16, 2011
while trying to get a game to work on wine I was surprised to find out that the wine version that ships with sid is 1.0.1 released in October 2005. So I installed the latest release I found at [URL] like this :
dpkg -i wine_1.1.42~winehq1-1_amd64.deb
The install failed, I think because I hadn't remove the old wine version, and that's when the joy-ride started. Impossible to remove wine to restart properly. (apt-get remove libwine wine and apt-get -f install didn't) After some googling I tried this :
dpkg -i --force-depends wine_1.1.42~winehq1-1_amd64.deb
This did install the wine version I wanted, and the game ran fine after that. However the result was a borked apt-get. Tried to remove wine again with the above commands, resulting in apt-get failing to do so because it tried installing wine-unstable and reported errors similar to these : E: Could not perform immediate configuration on 'wine-unstable'. see man 5 apt.conf under APT::Immediate-Configure for details. (2)
View 2 Replies
View Related
Apr 15, 2011
How can I uninstall / purge wine and any wine installed windows programs?I've tried deleting .wine (hidden folder)but in /usr/bin/ there are a number of wine related files.And wine sub menu still appears in Applications menu
View 6 Replies
View Related
May 21, 2010
i want to install wine on rhel 5.plz send me wine installtion command.
View 1 Replies
View Related
Mar 29, 2011
maybe my questions sounds funny: i'm looking for a very small (or better as small as necessary) distro which runs in a virtual box an starts wine.The reason is: we have new laptops in my school runnig windows7 64bit home and we have some software which runs only on WinXP. So why not take a virtualbox wich runs wine to start the old Software?
View 2 Replies
View Related
Feb 7, 2010
Is there a quick way of saving the active threads of this forum, so that, I can read them later on without an internet connection?
View 1 Replies
View Related
Feb 24, 2010
I had xp, added win7, and now added kubuntu.But can't choose the OS to load on grub.Can't find a fix through the posted threads, can you guide me to solving the problem?
View 9 Replies
View Related
Mar 6, 2011
I have a script that basically takes a list of IP addresses, and pings them to tell me if each device (Access Point) is online or not. The problem with that is, the list contains about a hundred addresses. Making the problem worse is the fact that using a single ICMP packet per device is not an option since, at certain times of the day, the network is too congested to guarantee that a single ICMP packet won't be dropped, despite the device being up and running. That means I need to send multiple pings per device for about a hundred devices. As you can imagine, doing this sequentially takes a while.
What I want to do is make my script open other threads in the background to ping multiple devices in parallel. The problem with that is - if I simply make each ping command run in parallel, soon there are a hundred background tasks, one for each address, and that consumes a lot of CPU (CPU hits 100% and stays there till the script is done). Is there a way I can make about 10 threads run at a time, and any other threads will queue until a spot opens up for them? Kind of like the token bucket, except when there aren't enough tokens, the main script waits until it can launch more background threads that ping the next addresses on the list.
View 3 Replies
View Related
Jun 28, 2010
i installed chromium 6.0.417.0 (0)
for some reason, after i post a comment here on lq, i am unable to correct typos by hitting the edit button. i hafta' open up firefox to edit anything.
also, for some reason i cant use ctrl-i, ctrl-u, ctrl-b, ... while typing comments.
View 9 Replies
View Related
Jul 20, 2010
I have a multithreaded program running. The threads are created by using pthread_create(). The ps shows a pid value for each thread in the process. The name of the thread is all the same as the parent process. I want to match the PID values in the ps output to the threads in my program. But when I used getpid() in each thread, the value I get is different from what ps shows. How do I match the pid value in ps output to the threads in my program.
View 1 Replies
View Related
Feb 17, 2011
Please I want Know the code of the Merge Sort with threads in C
View 7 Replies
View Related
Jun 8, 2011
IS there any command to see number of threads are running in a process .I have check ps -eLf but it wont show display for all the threads
View 1 Replies
View Related