12 Topics

Member Avatar for
Member Avatar for somjit{}

[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...

Member Avatar for JamesCherrill
0
330
Member Avatar for BryantFury

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 …

Member Avatar for Taywin
0
3K
Member Avatar for CPT

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 …

0
181
Member Avatar for niyasc

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.

Member Avatar for Taywin
0
108
Member Avatar for ahp@aol.in

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 …

Member Avatar for ahp@aol.in
0
182
Member Avatar for solomon_13000

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 …

Member Avatar for Mitja Bonca
0
145
Member Avatar for jcarbillon

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 …

Member Avatar for Golden-Boy
0
249
Member Avatar for harius

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 …

Member Avatar for harius
0
156
Member Avatar for SaberExcalibur

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 …

Member Avatar for Momerath
0
312
Member Avatar for gaudi_br

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 …

0
97
Member Avatar for hello.vickey

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 …

0
115
Member Avatar for ashu2409

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. …

Member Avatar for ashu2409
0
973

The End.