「interp」を含む例文一覧(3)

  • interp, which points to this thread's interpreter state.
    interpだけが公開されていて、スレッドのインタプリタ状態を指すポインタになっています。 - Python
  • Return the a pointer to the first PyThreadState object in the list of threads associated with the interpreter interp.New in version 2.2.
    インタプリタ interp に関連付けられているスレッドからなるリストのうち、先頭にある PyThreadState オブジェクトを返します。 - Python
  • Depending on your needs, you can either create a new interpreter state data structure, or share the interpreter statedata structure used by the Python main thread (to access the latter,you must obtain the thread state and access its interp member;this must be done by a thread that is created by Python or by the main thread after Python is initialized).Assuming you have access to an interpreter object, the typical idiom for calling into Python from a C thread is
    必要に応じて、新たなインタプリタ状態データ構造体を作成するなり、Python メインスレッドが使っているインタプリタ状態データ構造体を共有するなりできます (後者のデータにアクセスするためには、スレッド状態データ構造体を獲得して、その interp メンバにアクセスしなければなりません; この処理は、Python が作成したスレッドから行うか、Python を初期化した後で主スレッドから行わねばなりません)。 - Python

例文データの著作権について