Skip to content

Commit 658c2a4

Browse files
dktappsondrejmirtes
authored andcommitted
functionMap: pthreads v3 changes
1 parent 1440a73 commit 658c2a4

File tree

1 file changed

+23
-34
lines changed

1 file changed

+23
-34
lines changed

src/Reflection/SignatureMap/functionMap.php

Lines changed: 23 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,6 @@
10331033
'collator_sort' => ['bool', 'coll'=>'collator', '&rw_arr'=>'array', 'sort_flag='=>'int'],
10341034
'collator_sort_with_sort_keys' => ['bool', 'coll'=>'collator', '&rw_arr'=>'array'],
10351035
'Collectable::isGarbage' => ['bool'],
1036-
'Collectable::setGarbage' => ['void'],
10371036
'colorObj::setHex' => ['int', 'hex'=>'string'],
10381037
'colorObj::toHex' => ['string'],
10391038
'COM::__call' => ['', 'name'=>'', 'args'=>''],
@@ -1060,11 +1059,6 @@
10601059
'COMPersistHelper::SaveToStream' => ['int', 'stream'=>''],
10611060
'componere\cast' => ['Type', 'arg1'=>'', 'object'=>''],
10621061
'componere\cast_by_ref' => ['Type', 'arg1'=>'', 'object'=>''],
1063-
'Cond::broadcast' => ['bool', 'condition'=>'long'],
1064-
'Cond::create' => ['long'],
1065-
'Cond::destroy' => ['bool', 'condition'=>'long'],
1066-
'Cond::signal' => ['bool', 'condition'=>'long'],
1067-
'Cond::wait' => ['bool', 'condition'=>'long', 'mutex'=>'long', 'timeout='=>'long'],
10681062
'confirm_pdo_ibm_compiled' => [''],
10691063
'connection_aborted' => ['int'],
10701064
'connection_status' => ['int'],
@@ -7108,11 +7102,6 @@
71087102
'MultipleIterator::rewind' => ['void'],
71097103
'MultipleIterator::setFlags' => ['int', 'flags'=>'int'],
71107104
'MultipleIterator::valid' => ['bool'],
7111-
'Mutex::create' => ['long', 'lock='=>'bool'],
7112-
'Mutex::destroy' => ['bool', 'mutex'=>'long'],
7113-
'Mutex::lock' => ['bool', 'mutex'=>'long'],
7114-
'Mutex::trylock' => ['bool', 'mutex'=>'long'],
7115-
'Mutex::unlock' => ['bool', 'mutex'=>'long', 'destroy='=>'bool'],
71167105
'mysql_affected_rows' => ['int', 'link_identifier='=>'resource'],
71177106
'mysql_client_encoding' => ['string', 'link_identifier='=>'resource'],
71187107
'mysql_close' => ['bool', 'link_identifier='=>'resource'],
@@ -12152,23 +12141,18 @@
1215212141
'Thread::__construct' => ['void'],
1215312142
'Thread::chunk' => ['array', 'size'=>'int', 'preserve'=>'bool'],
1215412143
'Thread::count' => ['int'],
12155-
'Thread::detach' => ['void'],
1215612144
'Thread::getCreatorId' => ['int'],
12157-
'Thread::getCurrentThread' => ['Thread'],
12145+
'Thread::getCurrentThread' => ['Thread|null'],
1215812146
'Thread::getCurrentThreadId' => ['int'],
12159-
'Thread::getTerminationInfo' => ['array'],
1216012147
'Thread::getThreadId' => ['int'],
12161-
'Thread::globally' => ['mixed'],
1216212148
'Thread::isJoined' => ['bool'],
1216312149
'Thread::isRunning' => ['bool'],
1216412150
'Thread::isStarted' => ['bool'],
1216512151
'Thread::isTerminated' => ['bool'],
12166-
'Thread::isWaiting' => ['bool'],
1216712152
'Thread::join' => ['bool'],
12168-
'Thread::kill' => ['void'],
12169-
'Thread::lock' => ['bool'],
1217012153
'Thread::merge' => ['bool', 'from'=>'', 'overwrite='=>'mixed'],
1217112154
'Thread::notify' => ['bool'],
12155+
'Thread::notifyOne' => ['bool'],
1217212156
'Thread::offsetExists' => ['bool', 'offset'=>'mixed'],
1217312157
'Thread::offsetGet' => ['mixed', 'offset'=>'mixed'],
1217412158
'Thread::offsetSet' => ['void', 'offset'=>'mixed', 'value'=>'mixed'],
@@ -12178,18 +12162,13 @@
1217812162
'Thread::shift' => ['bool'],
1217912163
'Thread::start' => ['bool', 'options='=>'int'],
1218012164
'Thread::synchronized' => ['mixed', 'block'=>'Closure', '_='=>'mixed'],
12181-
'Thread::unlock' => ['bool'],
1218212165
'Thread::wait' => ['bool', 'timeout='=>'int'],
1218312166
'Threaded::__construct' => ['void'],
1218412167
'Threaded::chunk' => ['array', 'size'=>'int', 'preserve'=>'bool'],
1218512168
'Threaded::count' => ['int'],
1218612169
'Threaded::extend' => ['bool', 'class'=>'string'],
12187-
'Threaded::from' => ['Threaded', 'run'=>'Closure', 'construct='=>'Closure', 'args='=>'array'],
12188-
'Threaded::getTerminationInfo' => ['array'],
1218912170
'Threaded::isRunning' => ['bool'],
1219012171
'Threaded::isTerminated' => ['bool'],
12191-
'Threaded::isWaiting' => ['bool'],
12192-
'Threaded::lock' => ['bool'],
1219312172
'Threaded::merge' => ['bool', 'from'=>'mixed', 'overwrite='=>'bool'],
1219412173
'Threaded::notify' => ['bool'],
1219512174
'Threaded::notifyOne' => ['bool'],
@@ -12201,7 +12180,6 @@
1220112180
'Threaded::run' => ['void'],
1220212181
'Threaded::shift' => ['mixed'],
1220312182
'Threaded::synchronized' => ['mixed', 'block'=>'Closure', '...args='=>'mixed'],
12204-
'Threaded::unlock' => ['bool'],
1220512183
'Threaded::wait' => ['bool', 'timeout='=>'int'],
1220612184
'Throwable::__toString' => ['string'],
1220712185
'Throwable::getCode' => ['mixed'],
@@ -12739,6 +12717,24 @@
1273912717
'VarnishStat::getSnapshot' => ['array'],
1274012718
'version_compare' => ['int', 'version1'=>'string', 'version2'=>'string'],
1274112719
'version_compare\'1' => ['bool', 'version1'=>'string', 'version2'=>'string', 'operator'=>'string'],
12720+
'Volatile::__construct' => ['void'],
12721+
'Volatile::chunk' => ['array', 'size'=>'int', 'preserve'=>'bool'],
12722+
'Volatile::count' => ['int'],
12723+
'Volatile::extend' => ['bool', 'class'=>'string'],
12724+
'Volatile::isRunning' => ['bool'],
12725+
'Volatile::isTerminated' => ['bool'],
12726+
'Volatile::merge' => ['bool', 'from'=>'mixed', 'overwrite='=>'bool'],
12727+
'Volatile::notify' => ['bool'],
12728+
'Volatile::notifyOne' => ['bool'],
12729+
'Volatile::offsetExists' => ['bool', 'offset'=>'mixed'],
12730+
'Volatile::offsetGet' => ['mixed', 'offset'=>'mixed'],
12731+
'Volatile::offsetSet' => ['void', 'offset'=>'mixed', 'value'=>'mixed'],
12732+
'Volatile::offsetUnset' => ['void', 'offset'=>'mixed'],
12733+
'Volatile::pop' => ['bool'],
12734+
'Volatile::run' => ['void'],
12735+
'Volatile::shift' => ['mixed'],
12736+
'Volatile::synchronized' => ['mixed', 'block'=>'Closure', '...args='=>'mixed'],
12737+
'Volatile::wait' => ['bool', 'timeout='=>'int'],
1274212738
'vfprintf' => ['int', 'stream'=>'resource', 'format'=>'string', 'args'=>'array'],
1274312739
'virtual' => ['bool', 'uri'=>'string'],
1274412740
'vpopmail_add_alias_domain' => ['bool', 'domain'=>'string', 'aliasdomain'=>'string'],
@@ -12832,26 +12828,20 @@
1283212828
'Worker::chunk' => ['array', 'size'=>'int', 'preserve'=>'bool'],
1283312829
'Worker::collect' => ['int', 'collector='=>'Callable'],
1283412830
'Worker::count' => ['int'],
12835-
'Worker::detach' => ['void'],
1283612831
'Worker::getCreatorId' => ['int'],
1283712832
'Worker::getCurrentThread' => ['Thread'],
1283812833
'Worker::getCurrentThreadId' => ['int'],
1283912834
'Worker::getStacked' => ['int'],
12840-
'Worker::getTerminationInfo' => ['array'],
1284112835
'Worker::getThreadId' => ['int'],
12842-
'Worker::globally' => ['mixed'],
1284312836
'Worker::isJoined' => ['bool'],
1284412837
'Worker::isRunning' => ['bool'],
1284512838
'Worker::isShutdown' => ['bool'],
1284612839
'Worker::isStarted' => ['bool'],
1284712840
'Worker::isTerminated' => ['bool'],
12848-
'Worker::isWaiting' => ['bool'],
12849-
'Worker::isWorking' => ['bool'],
1285012841
'Worker::join' => ['bool'],
12851-
'Worker::kill' => ['bool'],
12852-
'Worker::lock' => ['bool'],
1285312842
'Worker::merge' => ['bool', 'from'=>'', 'overwrite='=>'mixed'],
1285412843
'Worker::notify' => ['bool'],
12844+
'Worker::notifyOne' => ['bool'],
1285512845
'Worker::offsetExists' => ['bool', 'offset'=>'mixed'],
1285612846
'Worker::offsetGet' => ['mixed', 'offset'=>'mixed'],
1285712847
'Worker::offsetSet' => ['void', 'offset'=>'mixed', 'value'=>'mixed'],
@@ -12860,11 +12850,10 @@
1286012850
'Worker::run' => ['void'],
1286112851
'Worker::shift' => ['bool'],
1286212852
'Worker::shutdown' => ['bool'],
12863-
'Worker::stack' => ['int', '&rw_work'=>'Threaded'],
12853+
'Worker::stack' => ['int', 'work'=>'Threaded'],
1286412854
'Worker::start' => ['bool', 'options='=>'int'],
1286512855
'Worker::synchronized' => ['mixed', 'block'=>'Closure', '_='=>'mixed'],
12866-
'Worker::unlock' => ['bool'],
12867-
'Worker::unstack' => ['int', '&rw_work='=>'Threaded'],
12856+
'Worker::unstack' => ['Collectable|null'],
1286812857
'Worker::wait' => ['bool', 'timeout='=>'int'],
1286912858
'xattr_get' => ['string', 'filename'=>'string', 'name'=>'string', 'flags='=>'int'],
1287012859
'xattr_list' => ['array', 'filename'=>'string', 'flags='=>'int'],

0 commit comments

Comments
 (0)