Patch for Race Condition.

From: Dinesh Kumar <dinesh(dot)kumar(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Patch for Race Condition.
Date: 2013-09-24 11:37:11
Message-ID: CAKWsr7i16VB4P=c2WmNL3n1Hat8+mhhMFquffYu8ZSxf_bEoAw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave/Team,

While working on one of the assigned task, i have been noticed the race
condition on object "currentObject", which is concurrently updating
by "onSelRightClick" and "execSelChange" methods. Due to this, sometimes, i
am getting "n" Node context menu on "m" node.

Ex:- When i right click on "server node", it is showing the "database node"
popup menu options.

I have been attaching the patch along with this request, and will be
awaiting for your inputs.

Thanks in advance.

Dinesh

--
*Dinesh Kumar*
Software Engineer

Ph: +918087463317
Skype ID: dinesh.kumar432
www.enterprisedb.co
<http://www.enterprisedb.com/>m<http://www.enterprisedb.com/>
*
Follow us on Twitter*
@EnterpriseDB

Visit EnterpriseDB for tutorials, webinars,
whitepapers<http://www.enterprisedb.com/resources-community> and
more <http://www.enterprisedb.com/resources-community>

Attachment Content-Type Size
Fix_Race_Conditions.patch application/octet-stream 1.4 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-09-25 09:11:39 pgAdmin III commit: Make sure we return a value from a non-void functio
Previous Message Neel Patel 2013-09-24 11:24:28 Slony Issue Fix in pgAdmin