[postgis-devel] [PostGIS] #1802: Ensure interruptability of long-running calls

PostGIS trac at osgeo.org
Fri May 4 03:41:46 PDT 2012


#1802: Ensure interruptability of long-running calls
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  task     |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.1
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 I verified that palloc, repalloc and pfree do _not_ give an interruption
 chance. But we could, in our wrappers, by explicitly calling the
 CHECK_FOR_INTERRUPTS macro.

 Effect of such macro on performance should be reviewed.

 Also, for GEOS to take advantage of interruptability we'd need to use the
 custom allocators from within GEOS itself.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1802#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list