Prateek wrote: [...] > Mainly it revolves around dedicating one core for executing > synchronized code and doing context switches instead of acquiring/ > releasing locks. > > http://www.brainwavelive.com/blog/index.php?/archives/12-Suggestion-for-removing-the-Python-Global-Interpreter-Lock.html
Context switches are generally more expensive than acquiring and release locks. Most systems' run-queues are protected by locks. The context switches at issue all involve the dedicated core, so I do not see any parallelism advantage. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list