Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Commit

Permalink
change test for #482, there doesn't seem to be a way around
Browse files Browse the repository at this point in the history
  • Loading branch information
krakjoe committed Sep 10, 2015
1 parent 909c9cb commit f23f338
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
<date>2015-09-10</date>
<time>15:09:11</time>
<version>
<release>3.0.0</release>
<api>3.0.0</api>
<release>3.0.1</release>
<api>3.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
first PHP7 release
fix issue #482
</notes>
<contents>
<dir name="/">
Expand Down
2 changes: 1 addition & 1 deletion php_pthreads.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef HAVE_PHP_PTHREADS_H
#define HAVE_PHP_PTHREADS_H
#define PHP_PTHREADS_EXTNAME "pthreads"
#define PHP_PTHREADS_VERSION "3.0.0"
#define PHP_PTHREADS_VERSION "3.0.1"

PHP_MINIT_FUNCTION(pthreads);
PHP_MSHUTDOWN_FUNCTION(pthreads);
Expand Down
5 changes: 2 additions & 3 deletions tests/crazy-refcounting-stuff.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class Managed extends Threaded {
if (Thread::getCurrentThreadId() == $this->owner) {
$this->delRef();
}

}
}

Expand All @@ -46,12 +45,12 @@ object(Test)#1 (2) {
["inctor"]=>
object(Managed)#3 (1) {
["owner"]=>
int(%d)
int(%s)
}
["inrun"]=>
object(Managed)#2 (1) {
["owner"]=>
int(%d)
int(%s)
}
}

0 comments on commit f23f338

Please sign in to comment.