-
Logged In: YES
user_id=950037
> thread context switches happen at a regular
> rate
thanks for your response, but with enough worker threads
it's still easy to starve the GUI thread.
and the other problems of this model remain:
1) a stupid native module could forget to release the global
interpreter lock and block on I/O, freezing the entire
interpreter (i.e. GIL is a pain for native...
2006-02-22 07:55:39 UTC in Python
-
Logged In: YES
user_id=950037
OK, let me try again :-)
The problem is in the global interpreter lock:
http://docs.python.org/api/threads.html
this basically says that you can have as many native threads
as you like but only one of them could have the global
interpreter lock and could therefore be executing python
code at a time. The only use of python's multiple threads
then is so they...
2006-02-17 09:52:00 UTC in Python
-
Cooperative threads have their uses but I find the lack
of real native pre-emptive threads a major issue in a
21-st century language.
We should consider the inertia of programmers from
C++/Java/.NET background. They are used to and
experienced in solving certain kind of problems with
pre-emptive threads, and it's just too plain
inconvenient to step back and try to cope with
cooperative...
2006-02-16 08:11:55 UTC in Python
-
Hi,
I've managed to build and install the jpype extension
on a current cygwin install (includes Python 2.4.1)
It required very little tweaking but I get a core dump
when I try to load a Sun 1.4.2 JVM within the python
interpreter process, here's the program I'm trying to run:
#!/usr/bin/python
from jpype import *
startJVM("c:/j2sdk1.4.2_08/jre/bin/client/jvm.dll",
"-ea") #core dump...
2005-06-14 10:01:30 UTC in JPype
-
Logged In: YES
user_id=950037
Isn't it possible to add a generic implementation for this routine in C
so that it can be used on all architectures for which an optimized
assembly implementation is not available?
This will make it possible to use your wonderful plugin on Mac
(PowerPC) platforms too...
2005-02-04 10:49:46 UTC in Infinity visualization plugin
-
on a stock FC3 (x86_64 port) the make process fails with:
if /bin/sh ../libtool --mode=compile gcc
-DLOCALEDIR=\"/home/andrew/local/infinity-xmms/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I../src -I..
-I/usr/include/xmms -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include
-I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT
-I/usr/include/gtk-1.2...
2005-01-19 12:34:38 UTC in Infinity visualization plugin
-
Logged In: YES
user_id=950037
This feature will appear in YaFM 1.0.6.
2004-08-05 09:24:16 UTC in Yet Another web-based File Manager
-
Development is indeed kind of slow and the authentication is a work in progress (should be a little easier with 1.0.4)
But the project is far from dead and a new release is expected soon which will make authentication easier (and possibly even add MySQL-backed authentication)
2004-06-09 08:56:21 UTC in Yet Another web-based File Manager
-
darkprokoba registered the Segload is a segmented download manager project.
2004-05-18 13:01:13 UTC in Segload is a segmented download manager