Patch for Race Condition. - Mailing list pgadmin-hackers

From Dinesh Kumar
Subject Patch for Race Condition.
Date
Msg-id CAKWsr7i16VB4P=c2WmNL3n1Hat8+mhhMFquffYu8ZSxf_bEoAw@mail.gmail.com
Whole thread Raw
Responses Re: Patch for Race Condition.
List 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
Skype ID: dinesh.kumar432
www.enterprisedb.com

Follow us on Twitter

@EnterpriseDB 

Visit EnterpriseDB for tutorials, webinars, whitepapers and more
Attachment

pgadmin-hackers by date:

Previous
From: Neel Patel
Date:
Subject: Slony Issue Fix in pgAdmin
Next
From: Dave Page
Date:
Subject: pgAdmin III commit: Make sure we return a value from a non-void functio