python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Does one need to declare java synchronization mechanisms (locks, ,semaphores etc) as volatile?
If a lock/semaphore is being used by multiple threads for synchronization, does one need to declare it as volatile? Are the member variables of locks/semaphores itself guaranteed to reflect the latest...
Gaurav
Votes: 0
Answers: 2
Will semaphore corrupt data transmission of peripherals like UART in a microcontroller?
Semaphore disables interrupts and so will this cause other operations like receiving data on SPI to get corrupt?

Joseph Stephen
Votes: 0
Answers: 2
How to recreate swapchain after vkAcquireNextImageKHR is VK_SUBOPTIMAL_KHR?
This vulkan tutorial discusses swapchain recreation:
You could also decide to [recreate the swapchain] that if the swap chain is suboptimal, but I've chosen to proceed anyway in that case because we'...
Drew
Votes: 0
Answers: 1
Where and how are semaphores in PHP stored
I am curious about where and how PHP stores semaphores in context of sharing them within the application.
From what I was able to understand from documentation, they use shared memory.
Since container...
HubertNNN
Votes: 0
Answers: 0