note 115576 added to book.pthreads

From: Date: Tue, 19 Aug 2014 10:01:17 +0000
Subject: note 115576 added to book.pthreads
Groups: php.notes 
Request: Send a blank email to php-notes+get-200217@lists.php.net to get a copy of this message
Hello, WARNING : When using Stackable objects in callable functions by your Threads, you must be very careful if you use it as an array. Indeed, if you do not copy your Stackable "array" in a local variable, the execution time can drop drastically ! Also, if you want to modify an array() in a function, you will also store in a local variable in order that your array is in a thread-safe context. ---- Server IP: 195.221.21.36 Probable Submitter: 212.198.244.61 ---- Manual Page -- http://php.net/manual/en/book.pthreads.php Edit -- https://master.php.net/note/edit/115576 Del: integrated -- https://master.php.net/note/delete/115576/integrated Del: useless -- https://master.php.net/note/delete/115576/useless Del: bad code -- https://master.php.net/note/delete/115576/bad+code Del: spam -- https://master.php.net/note/delete/115576/spam Del: non-english -- https://master.php.net/note/delete/115576/non-english Del: in docs -- https://master.php.net/note/delete/115576/in+docs Del: other reasons-- https://master.php.net/note/delete/115576 Reject -- https://master.php.net/note/reject/115576 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#200217) next »