race-condition
C# Locking mechanism - write only locking
In continuation for my latest ponders about locks in C# and .NET, Consider the following scenario: I have a class which contains a specific collection (for this example, i\'ve used a Dictionary<s[详细]
2023-03-28 05:48 分类:问答C# Quartz Race Condition
I am automating some tasks on my website, but I\'m currently stuck. public void Execute(JobExecutionContext context)[详细]
2023-03-27 17:08 分类:问答Using more than one mutex with a conditional variable
Is there a mechanism to have a conditional variable use multiple mutexes? I am in Linux and pthreads in C++.[详细]
2023-03-27 15:04 分类:问答Semaphore without destruction/unmapping race condition
Note: I have heavily edited this question for clarity after making a mess of it brainstorming in public. However the actual algorithms described, and the question about whether they\'re sufficient to[详细]
2023-03-24 18:35 分类:问答linux kernel, userspace buffers, do access_ok and wait create a race condition?
In the following code (the read implementation for a char driver), is it possible for MMU TLB entries to change during wait_event_interruptible, such that __put_user causes an exception even though ac[详细]
2023-03-24 16:29 分类:问答Random crashes when using SWT with JOGL (race condition?)
I\'m writing an SWT app using JOGL and the SWT/AWT bridge, and I\'m trying to create multiple GLCanvas objects inside a Composite, which I\'m then trying to put inside a tab. When it works, it looks l[详细]
2023-03-21 07:48 分类:问答Blocking Queue implementation: Where's the race condition?
It\'s me and my BlockingQueue again... I rewrote it according to this article andthis question. It sends some items and then crashes with an access violation. Here\'s the code:[详细]
2023-03-20 04:33 分类:问答Race condition on x86
Could someo开发者_Python百科ne explain this statement: shared variables x = 0, y = 0 Core 1Core 2 x = 1;y = 1;[详细]
2023-03-18 18:21 分类:问答Is it time.time() a safe approach when creating content types on plone programatically?
I have to use _createObjectByType on Plone. I have as an argument the id of the object. Is it going to be safe, in this scenario, to create an id based on time.time() to avoid collisions? Can two requ[详细]
2023-03-16 08:25 分类:问答Race condition in my POSIX signal handler
The following program forks off a child, that runs \"/bin/sleep 10\" repeatedly. The parent installs a signal handler for SIGINT, that delivers SIGINT to the child. However sometimes sending SIGINT to[详细]
2023-03-15 18:27 分类:问答
加载中,请稍侯......