File: DKEndpointManager-concurrency.patch

package info (click to toggle)
dbuskit 0.1.1-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,956 kB
  • sloc: objc: 10,543; sh: 9,463; ansic: 200; makefile: 32
file content (18 lines) | stat: -rw-r--r-- 608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix concurrency bug leading to random DKProxy test failures.
Author: Kaloian Doganov <kaloian@doganov.org>
Bug-Debian: https://bugs.debian.org/1105729
Forwarded: no
Last-Update: 2025-10-12
---

--- dbuskit.orig/Source/DKEndpointManager.m
+++ dbuskit/Source/DKEndpointManager.m
@@ -561,7 +561,7 @@
   volatile NSInteger retVal = -1;
   NSInteger *retValPointer = NULL;
   NSUInteger count = 0;
-  static DKRingBufferElement request;
+  DKRingBufferElement request;
   BOOL performSynchronized = NO;
   BOOL workerThreadIsCurrent = [workerThread isEqual: [NSThread currentThread]];
   if (doWait)