python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Directshow Transform filter's implementation exposes data race? [solved]
I'm writing a transform filter in Directshow. I've looked at the Transform filter implementation.
They use 1 filter_lock for protecting filter's state and another lock called streaming_lock for protec...
irous
Votes: 0
Answers: 0
Implementing Spin lock vs. Win32 Critical section
I'm trying to optimize Win32's CRITICAL_SECTION for more "complex" synchronization primitives, where I don't need the reentrance feature of the critical section. So here's my spin lock so fa...
mrzacek mrzacek
Votes: 0
Answers: 0
Getting Releasing unheld lock CriticalSection in Windows C++ code
I'm getting a warning "Releasing unheld lock 'csCriticalSection'" at the 2nd try below.
Here is my code, but without all the ADO code. I don't know why I'm getting this warning, because if t...
JeffR
Votes: 0
Answers: 1
Crtical section not working in OpenMP program
Q. Fill an array of size 100 with 1. Find sum of the array.
So i ran the below program on linux compiled with the flag -fopenmp and the answer i am getting is Sum : 400 (As 4 cores ) but it should be ...
War Hawk121
Votes: 0
Answers: 1