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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Fri Dec 27 04:01:29 2024 UTC