12 Topics
|
|
[This](http://docs.oracle.com/javase/tutorial/essential/concurrency/deadlock.html) is the example i was looking at. The docs say that trying to access the bowBack() method is creating the deadlock , but im new to threads , and i really dont understand why this is happening. In need of some guidance here... |
|
Hi I'm currently going through some questions, basically studying up one bits for my operating systems unit and my particular weakness is algorithms and 'working out' type questions such as this one below. Consider the following snapshot of the system, with 4 types of resources and 3 processes, P1, P2 … |
|
i've just started learning the C# language and this is my first program to use threads. I don't understand why the consumer thread doesn't get called( only after the producer has stopped)and when it gets called it doesn't consume anything, also I've noticed that the majority of produced elements are … |
|
Is there any method to deal with distributed deadlock when multiple instances are available for each resource type? I think method of wait-for graph and chase algorithm can be used only when single instance of each resource type is available. |
|
Hi folks, I need a solution for following scenario. 1. Suppose two processes running simulteneously. 2. Process (P1) has already locked a mutex (M1). 3. Process (P2) is trying to lock same mutex (M1) but as it is already locked by (P1), P2 is waiting for unlocking (M1). 4. Now … |
|
1) Can a single connection to a MySql database be shared among applications? 2) Are there any possibilities that an error might accure when two applications compete for a single connection to a MySQL database? For example, Application 1 is using the connection to submit an insert operation to the … |
|
Hi Guys. Is it possible to trap this error in Classic ASP, and redirect to another page instead of displaying this error? [COLOR="Red"] Microsoft OLE DB Provider for SQL Server error '80004005' Transaction (Process ID 104) was deadlocked on lock resources with another process and has been chosen as the … |
|
Hi.Im working on an ASP.NET website.In this application there are some local functions and a call to an external C# exe.Every thing works fine if I use a msgbox control before this form redirects to the output page.If I dont use this msgbox before redirecting, the output is different than … |
|
I really need your help on this. What is deadlock? Can someone explain to me in the simplest form what is deadlock in operating systems. How can a process be deadlocked or not. pls. give me examples of resource allocation graph then explain .. I've been reading about deadlocks quite … |
|
Hi, We've got an application running on Tomcat and we've setup Manage Engine's Applications Manager 9.0 to monitor our environment. I've set an alarm that fires whenever a thread is in the "BLOCKED" state at the moment of the polling and I'd like to get a thread dump of that … |
|
hello buddies.. i am facing a serious issue with my live site,the site runs smooth for say 1-2hrs or even days,but all of a sudden (not able to reproduce the event on which this is happening)it hangs sometime .And any http request to the site results in IIS hang.the browser … |
|
Hi, i have created a window service with multithreading, but getting many deadlocks on sql in one Stored procedure when i start this service,and after that service does not do anything but in idle mode. the details of exception is below. Error :Wednesday, September 23, 2009 2:22:58 AM Method:UPD_CrawlerLastUrl 1. … |
The End.