python installation with "linuxthread"

S

Silver An

Hello!

Always I get many help form here , thanks.

I am developing appl. with pyfltk extention.(fltk extention module) as
a gui
toolkit.
To handle network event , pyfltk gui event and others, I need a
couple of thread.
For example
1. thread for pyfltk
2. thread for network event
3. ...

BUT.
Once pyfltk thread got the control, It never toss the control to
other threads.

Natually Appl. never work properly.

There could be some solution for that.
One of them is to modify "fltk" to generate some event(signal, timer
....) and I am thinking it is not a good idea because of performance
will be down.
And another alternative is
chainging python's "pthread" to "linuxthread".
It would work fine I guess, because pthread is usre-thread
and linuxthread is kernel thread.

so here is question
1. Is it a nice approch to change python's thread module to
linuxthread ?

2. and it is ture, How ? "--with-threads=[Directory]" option is the
right option?


Thanks

from Silver , Korea(S).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,170
Messages
2,570,925
Members
47,468
Latest member
Fannie44U3

Latest Threads

Top