Patches item #1412632, was opened at 2006-01-23 10:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1412632&group_id=5470
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: Core (C code)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: uiltje (tuijldert)
Assigned to: Nobody/Anonymous (nobody)
Summary: Proper locking with asynchronous callbacks.
Initial Comment:
Handling of Py_AddPendingCall()/Py_MakePendingCalls()
in ceval.c cannot handle registry calls that are made
while processing pending calls.
Current solution doesn't work, the "busy" variable
should be shared between the two functions for it to work.
This patch should work but is still not atomic, that'd
need proper locking.
Hence the alternative code in the patch when
threading/semaphores are present.
Please review and apply the attached patch.
Thanks in advance,
Tom.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1412632&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches