python installation with "linuxthread"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Silver  An

    python installation with "linuxthread"

    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 "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 to
    linuxthread ?

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


    Thanks

    from Silver , Korea(S).
Working...