[geos-devel] [GEOS] #1012: Thread Sanitizer warns of data race in geos::util::Interrupt::cancel()

GEOS geos-trac at osgeo.org
Fri Jan 31 07:30:02 PST 2020


#1012: Thread Sanitizer warns of data race in geos::util::Interrupt::cancel()
------------------------+---------------------------
 Reporter:  macdrevx    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:
Component:  Default     |     Version:  3.7.0
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by macdrevx):

 If I'm reading the source correctly, it seems like the interrupt mechanism
 can be used from any thread and when it is, it will interrupt only that
 one thread. Is there any reason why this shouldn't be a thread-specific or
 context-specific construct?

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/1012#comment:2>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list