php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69994 cant use Mutex::unlock function
Submitted: 2015-07-04 14:02 UTC Modified: 2017-04-02 15:37 UTC
Votes:2
Avg. Score:3.0 ± 2.0
Reproduced:0 of 1 (0.0%)
From: zduss at sina dot com Assigned:
Status: Wont fix Package: pthreads (PECL)
PHP Version: 5.6.10 OS: win 7,64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
13 + 17 = ?
Subscribe to this entry?

 
 [2015-07-04 14:02 UTC] zduss at sina dot com
Description:
------------
when it comes to var_dump(Mutex::unlock($mutex)),error is reported!


<?php
// using php_pthreads-2.0.10-5.6-ts-vc11-x64 version
$mutex = Mutex::create();

var_dump(Mutex::lock($mutex));

var_dump(Mutex::unlock($mutex));

Mutex::destroy($mutex);

Test script:
---------------
<?php

$mutex = Mutex::create();

var_dump(Mutex::lock($mutex));

var_dump(Mutex::unlock($mutex));

Mutex::destroy($mutex);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-02 15:37 UTC] tpunt@php.net
-Status: Open +Status: Wont fix
 [2017-04-02 15:37 UTC] tpunt@php.net
pthreads v2 is no longer supported, and so this issue will not be resolved. The Mutex class does not exist anymore in pthreads v3, and so this bug report is not applicable anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 09:01:30 2024 UTC