Change-Id: I580c7f44f6c412908b09f595f4eed768dca30b0a
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2017-2018 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
// TODO(mwereski): Check if capabilities can be satisfied.
- reqs.queue.pushRequest(req)
reqs.mutex.Lock()
+ reqs.queue.pushRequest(req)
reqs.requests[req.ID] = req
reqs.mutex.Unlock()