python installation with "linuxthread"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ¾ÈÀº¼®

    python installation with "linuxthread"

    Hello!

    Always I get many help form "comp.lang.pyth on"

    I am developing appl. with pyfltk extention.(fltk extention module) as a gui
    toolkit.
    To handle network event , 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" and I am thinking it is not a good idea.
    and another alternative are
    chainging python's "pthread" to "linuxthrea d".
    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?

    2. and it is , How ?

    Thanks

    from Silver , Korea(S).





Working...