|Index||index by Group||index by Distribution||index by Vendor||index by creation date||index by Name||Mirrors||Help||Search|
|Name: python-mtTkinter||Distribution: Unknown|
|Version: 0.4||Vendor: ATrpms.net|
|Release: 1.fc17||Build date: Sat May 19 12:30:40 2012|
|Group: Development/Languages||Build host: flocki.atrpms.net|
|Size: 57551||Source RPM: python-mtTkinter-0.4-1.fc17.src.rpm|
|Packager: ATrpms <http://ATrpms.net/>|
|Summary: A thread-safe version of Tkinter|
Although Tkinter is technically thread-safe (assuming Tk is built with --enable-threads), practically speaking there are still problems when used in multithreaded Python applications. The problems stem from the fact that the _tkinter module attempts to gain control of the main thread via a polling technique when processing calls from other threads. If it succeeds, all is well. If it fails (i.e., after a timeout), the application receives an exception with the message: "RuntimeError: main thread is not in main loop". There is no way to tell when this might happen, so calling Tk routines from multiple threads seems to be problematic at best. The mtTkinter module solves this problem by modifying some Tkinter module definitions (in memory). The modified code intercepts out-of-thread Tkinter calls and marshals them through a queue which is read by an 'after' event running periodically in the main loop. This is similar to the technique used in many other platforms (e.g., .NET's InvokeRequired/Invoke mechanism). The technique used in mtTkinter is exception-safe as well, marshaling exceptions through a response queue back to the caller's thread.
* Thu Jan 13 2011 Paulo Roma <firstname.lastname@example.org> 0.4-1 - Updated to 0.4 - Changed license. * Sat Oct 23 2010 Paulo Roma <email@example.com> 0.3-2 - Added BR python-devel. * Mon Feb 01 2010 Paulo Roma <firstname.lastname@example.org> 0.3-1 - Initial spec file.
/usr/lib/python2.7/site-packages/mtTkinter.py /usr/share/doc/python-mtTkinter-0.4 /usr/share/doc/python-mtTkinter-0.4/clock-bezier.py /usr/share/doc/python-mtTkinter-0.4/gpl.txt /usr/share/doc/python-mtTkinter-0.4/lgpl.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Nov 10 14:37:05 2016