Home
last modified time | relevance | path

Searched refs:Semaphore (Results 1 - 25 of 105) sorted by relevance

12345

/third_party/node/deps/v8/src/base/platform/
H A Dsemaphore.cc24 Semaphore::Semaphore(int count) { in Semaphore() function in v8::base::Semaphore
29 Semaphore::~Semaphore() { dispatch_release(native_handle_); } in ~Semaphore()
31 void Semaphore::Signal() { dispatch_semaphore_signal(native_handle_); } in Signal()
33 void Semaphore::Wait() { in Wait()
38 bool Semaphore::WaitFor(const TimeDelta& rel_time) { in WaitFor()
46 Semaphore::Semaphore(int count) {
54 Semaphore
[all...]
H A Dsemaphore.h31 // Semaphore
39 class V8_BASE_EXPORT Semaphore final {
41 explicit Semaphore(int count);
42 Semaphore(const Semaphore&) = delete;
43 Semaphore& operator=(const Semaphore&) = delete;
44 ~Semaphore();
65 using NativeHandle = starboard::Semaphore;
80 // POD Semaphore initialize
[all...]
/third_party/gn/src/util/
H A Dsemaphore.cc18 Semaphore::Semaphore(int count) { in Semaphore() function in Semaphore
23 Semaphore::~Semaphore() { in ~Semaphore()
27 void Semaphore::Signal() { in Signal()
31 void Semaphore::Wait() { in Wait()
37 Semaphore::Semaphore(int count) { in Semaphore() function in Semaphore
43 Semaphore::~Semaphore() { in ~Semaphore()
69 Semaphore::Semaphore(int count) { Semaphore() function in Semaphore
[all...]
H A Dsemaphore.h25 class Semaphore { class
27 explicit Semaphore(int count);
28 ~Semaphore();
51 Semaphore(const Semaphore&) = delete;
52 Semaphore& operator=(const Semaphore&) = delete;
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeSemaphore.hpp33 * \brief Semaphore
35 * Semaphore provides standard semaphore functionality.
37 * Semaphore is thread-safe counter that can be used to control access
42 class Semaphore class
45 Semaphore (int initialValue, deUint32 flags = 0);
46 ~Semaphore (void);
53 Semaphore (const Semaphore& other); // Not allowed!
54 Semaphore& operator= (const Semaphore
[all...]
H A DdeSemaphore.cpp35 * \param flags Semaphore flags (reserved for further use).
37 Semaphore::Semaphore (int initialValue, deUint32 flags) in Semaphore() function in de::Semaphore
48 Semaphore::~Semaphore (void) in ~Semaphore()
H A DdeThreadSafeRingBuffer.hpp63 Semaphore m_fill;
64 Semaphore m_empty;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DSemaphore.cpp6 // Semaphore.h: Implements the gl::Semaphore class [EXT_external_objects]
8 #include "libANGLE/Semaphore.h"
17 Semaphore::Semaphore(rx::GLImplFactory *factory, SemaphoreID id) in Semaphore() function in gl::Semaphore
21 Semaphore::~Semaphore() {} in ~Semaphore()
23 void Semaphore::onDestroy(const Context *context) in onDestroy()
28 angle::Result Semaphore::importFd(Context *context, HandleType handleType, GLint fd) in importFd()
33 angle::Result Semaphore
[all...]
H A DSemaphore.h6 // Semaphore.h: Defines the gl::Semaphore class [EXT_external_objects]
30 class Semaphore final : public RefCountObject<SemaphoreID>
33 Semaphore(rx::GLImplFactory *factory, SemaphoreID id);
34 ~Semaphore() override;
H A DResourceManager.h42 class Semaphore;
343 Semaphore *getSemaphore(SemaphoreID handle) const;
351 ResourceMap<Semaphore, SemaphoreID> mSemaphores;
H A DResourceManager.cpp21 #include "libANGLE/Semaphore.h"
496 Semaphore *semaphore = new Semaphore(factory, handle); in createSemaphore()
504 Semaphore *semaphore = nullptr; in deleteSemaphore()
519 Semaphore *SemaphoreManager::getSemaphore(SemaphoreID handle) const in getSemaphore()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkSemaphore.hpp36 class Semaphore class
39 Semaphore(VkSemaphoreType type);
41 virtual ~Semaphore() = default;
43 static inline Semaphore *Cast(VkSemaphore semaphore) in Cast()
45 return static_cast<Semaphore *>(static_cast<void *>(semaphore)); in Cast()
60 class BinarySemaphore : public Semaphore, public Object<BinarySemaphore, VkSemaphore>
93 // - A Vulkan Semaphore objects has a "payload", corresponding to a
96 // - A Vulkan Semaphore object can be "exported": this creates a
102 // Semaphore object. By default, that semaphore loses its payload, and
185 static inline Semaphore *Cas
[all...]
H A DVkSemaphore.cpp130 Semaphore::Semaphore(VkSemaphoreType type) in Semaphore() function in vk::Semaphore
135 VkSemaphoreType Semaphore::getSemaphoreType() const in getSemaphoreType()
192 : Semaphore(VK_SEMAPHORE_TYPE_BINARY) in BinarySemaphore()
219 // Semaphore::External instance is created and destroyed on demand so return 0 here. in ComputeRequiredAllocationSize()
H A DVkTimelineSemaphore.cpp26 : Semaphore(VK_SEMAPHORE_TYPE_TIMELINE) in TimelineSemaphore()
35 : Semaphore(VK_SEMAPHORE_TYPE_TIMELINE) in TimelineSemaphore()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DCommandProcessor.h100 const Semaphore *semaphore,
111 const Semaphore *waitSemaphore,
131 const Semaphore *getSemaphore() { return mSemaphore; } in getSemaphore()
137 const Semaphore *getOneOffWaitSemaphore() { return mOneOffWaitSemaphore; } in getOneOffWaitSemaphore()
157 const Semaphore *mSemaphore;
177 const Semaphore *mOneOffWaitSemaphore;
291 const Semaphore *signalSemaphore,
300 const Semaphore *waitSemaphore,
356 const Semaphore *signalSemaphore,
366 const Semaphore *waitSemaphor
[all...]
H A DSurfaceVk.h124 void destroy(VkDevice device, vk::Recycler<vk::Semaphore> *semaphoreRecycler);
130 std::vector<vk::Semaphore> semaphores;
147 vk::Semaphore semaphore;
230 const vk::Semaphore *getAndResetAcquireImageSemaphore();
299 angle::Result newPresentSemaphore(vk::Context *context, vk::Semaphore *semaphoreOut);
350 angle::CircularBuffer<vk::Semaphore, impl::kSwapHistorySize + 1> mAcquireImageSemaphores;
354 const vk::Semaphore *mAcquireImageSemaphore;
359 vk::Recycler<vk::Semaphore> mPresentSemaphoreRecycler;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
H A DvktBuildPrograms.cpp136 SyncTask (de::Semaphore* enterBarrier, de::Semaphore* inBarrier, de::Semaphore* leaveBarrier) in SyncTask()
156 de::Semaphore* m_enterBarrier;
157 de::Semaphore* m_inBarrier;
158 de::Semaphore* m_leaveBarrier;
163 de::Semaphore enterBarrier (0); in waitForComplete()
164 de::Semaphore inBarrier (0); in waitForComplete()
165 de::Semaphore leaveBarrier (0); in waitForComplete()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
H A DvktBuildPrograms.cpp136 SyncTask (de::Semaphore* enterBarrier, de::Semaphore* inBarrier, de::Semaphore* leaveBarrier) in SyncTask()
156 de::Semaphore* m_enterBarrier;
157 de::Semaphore* m_inBarrier;
158 de::Semaphore* m_leaveBarrier;
163 de::Semaphore enterBarrier (0); in waitForComplete()
164 de::Semaphore inBarrier (0); in waitForComplete()
165 de::Semaphore leaveBarrier (0); in waitForComplete()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DSwapchain.hpp29 void acquireNextImage(vk::Semaphore presentCompleteSemaphore, uint32_t &imageIndex);
30 void queuePresent(vk::Queue queue, uint32_t imageIndex, vk::Semaphore waitSemaphore);
H A DSwapchain.cpp73 void Swapchain::acquireNextImage(vk::Semaphore presentCompleteSemaphore, uint32_t &imageIndex) in acquireNextImage()
79 void Swapchain::queuePresent(vk::Queue queue, uint32_t imageIndex, vk::Semaphore waitSemaphore) in queuePresent()
/third_party/python/Lib/multiprocessing/
H A Dsynchronize.py11 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 'Event'
120 # Semaphore
123 class Semaphore(SemLock): class
142 class BoundedSemaphore(Semaphore):
214 self._sleeping_count = ctx.Semaphore(0)
215 self._woken_count = ctx.Semaphore(0)
216 self._wait_semaphore = ctx.Semaphore(0)
325 self._flag = ctx.Semaphore(0)
H A Dcontext.py80 def Semaphore(self, value=1): member in BaseContext
82 from .synchronize import Semaphore namespace
83 return Semaphore(value, ctx=self.get_context())
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dgdb-server.cc32 Task(base::Semaphore* ready_semaphore, std::function<void()> func) in Task()
43 base::Semaphore* ready_semaphore_;
82 auto Append(base::Semaphore* ready_semaphore, Functor&& task) { in Append()
103 v8::base::Semaphore process_queue_semaphore_;
115 v8::base::Semaphore ready_semaphore(0); in RunSyncTask()
/third_party/vk-gl-cts/framework/platform/android/
H A DtcuAndroidRenderActivity.hpp52 MESSAGE_SYNC, //!< Main thread requests sync. Data argument is de::Semaphore* that needs to be incremented.
64 de::Semaphore* semaphore;
99 Message (MessageType type_, de::Semaphore* semaphore) in Message()
/third_party/python/Lib/test/test_asyncio/
H A Dtest_locks.py53 asyncio.Semaphore,
71 asyncio.Semaphore(),
765 sem = asyncio.Semaphore(0)
769 sem = asyncio.Semaphore()
790 sem = asyncio.Semaphore()
795 "object Semaphore can't be used in 'await' expression",
803 self.assertRaises(ValueError, asyncio.Semaphore, -1)
806 sem = asyncio.Semaphore(3)
867 sem = asyncio.Semaphore()
878 sem = asyncio.Semaphore(valu
[all...]

Completed in 17 milliseconds

12345