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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: zduss at sina dot com
New email:
PHP Version: OS:

 

 [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: Wed Jul 24 08:01:31 2024 UTC