equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
23 |
23 |
24 #ifndef SHARE_GC_Z_ZFUTURE_INLINE_HPP |
24 #ifndef SHARE_GC_Z_ZFUTURE_INLINE_HPP |
25 #define SHARE_GC_Z_ZFUTURE_INLINE_HPP |
25 #define SHARE_GC_Z_ZFUTURE_INLINE_HPP |
26 |
26 |
27 #include "gc/z/zFuture.hpp" |
27 #include "gc/z/zFuture.hpp" |
28 #include "runtime/interfaceSupport.inline.hpp" |
|
29 #include "runtime/semaphore.inline.hpp" |
28 #include "runtime/semaphore.inline.hpp" |
30 #include "runtime/thread.hpp" |
29 #include "runtime/thread.hpp" |
31 |
30 |
32 template <typename T> |
31 template <typename T> |
33 inline void ZFuture<T>::set(T value) { |
32 inline void ZFuture<T>::set(T value) { |