commit | cc4897a71480906b33e1c27d1b48b5a9017f86aa | [log] [tgz] |
---|---|---|
author | Krzysztof Opasiak <k.opasiak@samsung.com> | Wed Jan 30 19:55:20 2019 +0100 |
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | Fri Feb 08 16:05:52 2019 +0100 |
tree | 8f060ca8b9a2e3cf78e5609b7e98e9a9826f6bf1 | |
parent | 0c59da823026c29d6a7c243c74e8f858c20b8f75 [diff] |
Return true only if thread has been really started Accortding to doc start() should return true if start operation was successful. Unfortunately value of this.alive may change between end of synchronized block and return for example when other thread executes stop() in parallel. Change-Id: I4103f0f4c65620c47b4acf2d276f104937b91187 Issue-ID: POLICY-1387 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains ONAP common code, which is shared by 'policy-drools-pdp' and 'policy-engine'. To build it: