GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

PySoy: Upgrade Threading

completed by: Darrel

mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh

When you compile PySoy with GLib 2.32+ (which is now the minimum supported) you'll see one of these:

warning: 'g_thread_create' is deprecated (declared at /usr/include/glib-2.0/glib/ deprecated/gthread.h:100): Use 'g_thread_new' instead

Do exactly what this says: in PySoy where we currently use the old g_thread_create call, change it to use g_thread_new instead. Note that the new API is slightly different so this isn't a simple search and replace. Your modified code should compile without these warnings and without introducing any new warnings.

While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.