You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Powell Molleti (JIRA)" <ji...@apache.org> on 2014/10/29 02:11:33 UTC

[jira] [Updated] (TS-3156) Mutex[Try]Lock bool() operator change and unused API removal

     [ https://issues.apache.org/jira/browse/TS-3156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Powell Molleti updated TS-3156:
-------------------------------
    Attachment: MutexLock-ats.patch

Patch cut against latest git clone.

> Mutex[Try]Lock bool() operator change and unused API removal
> ------------------------------------------------------------
>
>                 Key: TS-3156
>                 URL: https://issues.apache.org/jira/browse/TS-3156
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Powell Molleti
>         Attachments: MutexLock-ats.patch
>
>
> Removed unused constructor in MutexLock along with set_and_take() method, had to change FORCE_PLUGIN_MUTEX() for that. Removed release() method.
> default bool and ! operator from both MutexLock and MutexTryLock with is_locked() API. Changes if (lock) to if (lock.is_locked()) across the code base.
> Ran make test will be performing more system testing. Posted before for early comments / feedback.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)