Results of 1 - 10 of about 281 for My (0.001 sec.)
- 例 9744
- « 定義済み定数 Eio 関数 » PHP Manual Eio 例 例 例1 リクエストの取り消し <?php /* eio_nop() が終わ
... ったら呼ばれます */ function my_nop_cb ( $data , $result ) { echo "my_nop " , $dat ... は取り消されます $req = eio_nop ( EIO_PRI_DEFAULT , "my_nop_cb" , "1" ); var_dump ( $req ); eio_cancel ( $ ... _nop() は処理されます eio_nop ( EIO_PRI_DEFAULT , "my_nop_cb" , "2" ); // リクエストを処理します eio_eve ... ます。 resource(4) of type (EIO Request Descriptor) my_nop 2 例2 eio_chmod() の呼び出し <?php $temp_filen ...
-
https://man.plustar.jp/php/eio.examples.html
- [similar]
- FAQ: 名前空間について知っておくべきこと 8962
- « 名前解決のルール 列挙型(Enum) » PHP Manual 名前空間 FAQ: 名前空間について知っておくべきこと FA
... 空間にあるクラス、関数あるいは定数を使用する方法は? \my\name や \name のような名前はどのように解決される? ... EINFO ; // 内部クラス/グローバルクラスの継承 class MyException extends \ Exception {} ?> 同じ名前空間にあ ... あるいは定数へのアクセス <?php namespace foo ; class MyClass {} // 現在の名前空間のクラスを引数の型として使 ... う function test ( MyClass $parameter_type_example = null ) {} // 現在の ...
-
https://man.plustar.jp/php/language.namespaces.faq.html
- [similar]
- 名前空間の使用法: エイリアス/インポート 8836
- « namespace キーワードおよび __NAMESPACE__ 定数 グローバル空間 » PHP Manual 名前空間 名前空間の使
... よるインポート/エイリアス <?php namespace foo ; use My \ Full \ Classname as Another ; // これは use My\F ... ull\NSname as NSname と同じです use My \ Full \ NSname ; // グローバルクラスをインポートし ... rayObject ; // 関数をインポートします use function My \ Full \ functionName ; // 関数のエイリアスを定義し ... ます use function My \ Full \ functionName as func ; // 定数をインポート ...
-
https://man.plustar.jp/php/language.namespaces.importing.html
- [similar]
- State Detection 7658
- « Threaded::extend Threaded::isTerminated » PHP Manual Threaded State Detection Threaded::isRunn
... ect the state of the referenced object <?php class My extends Thread { public function run () { $this -> ... ead -> done ) $thread -> wait (); }, $this ); } } $my = new My (); $my -> start (); var_dump ( $my -> is ... Running ()); $my -> synchronized (function( $thread ){ $thread -> d ... one = true ; $thread -> notify (); }, $my ); ?> 上の例の出力は以下となります。 bool(true) 関 ...
-
https://man.plustar.jp/php/thread.isrunning.html
- [similar]
- Synchronization 7658
- « Threaded::shift Threaded::wait » PHP Manual Threaded Synchronization Threaded::synchronized (P
... ue from the block 例 例1 Synchronizing <?php class My extends Thread { public function run () { $this -> ... ead -> done ) $thread -> wait (); }, $this ); } } $my = new My (); $my -> start (); $my -> synchronized ... $thread -> done = true ; $thread -> notify (); }, $my ); var_dump ( $my -> join ()); ?> 上の例の出力は以 ...
-
https://man.plustar.jp/php/threaded.synchronized.html
- [similar]
- リクエストグループを作る 7610
- « eio_grp_limit eio_init » PHP Manual Eio 関数 リクエストグループを作る eio_grp (PECL eio >= 0.0
... ); fwrite ( $fp , "some data" ); fclose ( $fp ); $my_file_fd = NULL ; /* グループリクエストが終了したと ... きに呼ばれます */ function my_grp_done ( $data , $result ) { // もしファイルが残 ... ンポラリファイルを開いたときに呼ばれます */ function my_grp_file_opened_callback ( $data , $result ) { glo ... bal $my_file_fd , $grp ; $my_file_fd = $result ; $req = ei ...
-
https://man.plustar.jp/php/function.eio-grp.html
- [similar]
- Synchronization 7571
- « Threaded::merge Threaded::notifyOne » PHP Manual Threaded Synchronization Threaded::notify (PE
... ます。 例 例1 Notifications and Waiting <?php class My extends Thread { public function run () { /** caus ... ead -> done ) $thread -> wait (); }, $this ); } } $my = new My (); $my -> start (); /** send notificatio ... n to the waiting thread **/ $my -> synchronized (function( $thread ){ $thread -> d ... one = true ; $thread -> notify (); }, $my ); var_dump ( $my -> join ()); ?> 上の例の出力は以 ...
-
https://man.plustar.jp/php/threaded.notify.html
- [similar]
- Synchronization 7571
- « Threaded::synchronized Thread » PHP Manual Threaded Synchronization Threaded::wait (PECL pthre
... ます。 例 例1 Notifications and Waiting <?php class My extends Thread { public function run () { /** caus ... ead -> done ) $thread -> wait (); }, $this ); } } $my = new My (); $my -> start (); /** send notificatio ... n to the waiting thread **/ $my -> synchronized (function( $thread ){ $thread -> d ... one = true ; $thread -> notify (); }, $my ); var_dump ( $my -> join ()); ?> 上の例の出力は以 ...
-
https://man.plustar.jp/php/threaded.wait.html
- [similar]
- 状態を検出する 7436
- « Thread::getThreadId Thread::isStarted » PHP Manual Thread 状態を検出する Thread::isJoined (PEC
... します。 例 例1 スレッドの状態を検出する <?php class My extends Thread { public function run () { $this -> ... ead -> done ) $thread -> wait (); }, $this ); } } $my = new My (); $my -> start (); var_dump ( $my -> is ... Joined ()); $my -> synchronized (function( $thread ){ $thread -> d ... one = true ; $thread -> notify (); }, $my ); ?> 上の例の出力は以下となります。 bool(false) 関 ...
-
https://man.plustar.jp/php/thread.isjoined.html
- [similar]
- Synchronization 7436
- « Threaded::notify Threaded::pop » PHP Manual Threaded Synchronization Threaded::notifyOne (PECL
... ます。 例 例1 Notifications and Waiting <?php class My extends Thread { public function run () { /** caus ... ead -> done ) $thread -> wait (); }, $this ); } } $my = new My (); $my -> start (); /** send notificatio ... n to the waiting thread **/ $my -> synchronized (function( $thread ){ $thread -> d ... one = true ; $thread -> notifyOne (); }, $my ); var_dump ( $my -> join ()); ?> 上の例の出力は以 ...
-
https://man.plustar.jp/php/threaded.notifyone.html
- [similar]