high throughput multithreaded ca client appl thread could be trapped in lib
Bug #541383 reported by
Jeff Hill
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EPICS Base |
Fix Released
|
Wishlist
|
Jeff Hill |
Bug Description
While inspecting the code I see a bug where a high throughput multi-threaded CA client application could get one of its threads trapped inside the ca client library
Original Mantis Bug: mantis-357
http://
To post a comment you must log in.
I committed this fix
diff -u -b -w -b -r1.154.2.44 tcpiiu.cpp assertIdentical Mutex ( this->mutex ); orFlush > 0u ); >blockingForFlu sh--; orFlush == 0 ) { orFlush > 0 ) {
this- >flushBlockEven t.signal ();
--- tcpiiu.cpp 17 Jul 2009 21:33:18 -0000 1.154.2.44
+++ tcpiiu.cpp 31 Jul 2009 19:33:03 -0000
@@ -1694,7 +1694,7 @@
guard.
assert ( this->blockingF
this-
- if ( this->blockingF
+ if ( this->blockingF
}
}