PoE :: Component :: Pool :: Thread.

POE :: Component :: Pool :: Threadは、PoE管理対象ボス/ワーカースレッドプールです。
今すぐダウンロード

PoE :: Component :: Pool :: Thread. ランキングとまとめ

広告

  • Rating:
  • ライセンス:
  • Perl Artistic License
  • 価格:
  • FREE
  • 出版社名:
  • Scott McCoy
  • 出版社のWebサイト:
  • http://search.cpan.org/tag/POE-Component-Pool-Thread-0.015/Thread.pm

PoE :: Component :: Pool :: Thread. タグ


PoE :: Component :: Pool :: Thread. 説明

PoE :: Component :: Pool :: Threadは、PoE管理対象ボス/ワーカースレッドプールです。 POE :: Component :: Pool :: ThreadはPoE管理対象ボス/労働者ThreadPoolです.Synopsis PoE QWを使用する(Component :: Pool :: Thread)。 PoE :: Component :: Pool :: Thread-> New(MinFree => 2、MaxFree => 5、MaxThreads => 15、StartThrneads => 5、name => "Threadpool"、Entribpoote => Thread_entry_point、Callback => Result_Handler 、INLINE_STATES => {_START =>サブ{My($ kernel、$ heap)= @_ ;#私たちはコンポーネントセッション$カーネル→歩留まり(RUN => @ arguements); $カーネル - >投稿(Threadpool => Run => @ @積);}); sub thread_entry_point {My(@arguements)= @_;返品1; {My($カーネル、$ result)= @_ ;} $ resters == 1;これは、協調マルチタスクを妨害しないように、PoEセッションを通じて管理されている展開オンデマンドスレッドプールです。単一のパイプが作成され、各スレッドはその状態をこのパイプを通してメインプロセスに通信します。シリアル化は発生しません(これらは子プロセスではなくスレッドです)ので、実行は非常に速いです。要件: ・Perl


PoE :: Component :: Pool :: Thread. 関連ソフトウェア