From: SourceForge.net <no...@so...> - 2008-01-23 21:33:09
|
Patches item #1878515, was opened at 2008-01-23 13:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1008546&aid=1878515&group_id=209147 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: c client Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrew Kornev (akornev) Assigned to: Nobody/Anonymous (nobody) Summary: race condition fixes Initial Comment: This patch fixes a race condition that was caused by the code in zookeeper_process() and free_completions() setting sc->complete to 1 without synchronization. In fact, it was altogether redundant, as notify_sync_completion() does just that but in a thread safe manner. Also, the patch fixes indentation by replacing the tab characters with 4 whitespace characters throughout. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1008546&aid=1878515&group_id=209147 |