Ticket #210 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

Create a thread safe CAPI

Reported by: cthibert Owned by: geos-devel@…
Priority: major Milestone: 3.1.0
Component: C API Version: svn-trunk
Severity: Feature Request Keywords:
Cc:

Description

The current CAPI in GEOS is not thread safe. The error handling and initialization/finalization process specifically can cause problems.

Attachments

Ticket#210.tar.gz Download (16.8 KB) - added by cthibert 6 years ago.
Includes the new API and test tools. See README.
Ticket#210-1.0.tar.gz Download (22.0 KB) - added by cthibert 6 years ago.
This is a working version of the API changes. Changes were made following RFC-3. Included is a file 'testgrammar' which will cause errors when parsing and illustrate the threading issue. badthreadtest tries threading with the non-safe api and threadtest uses the new api.
Ticket#210-patch-1.0.gz Download (24.5 KB) - added by cthibert 6 years ago.
The last tar file attachment does not have all the files required. This patch is taken from the root directory of trunk.
Ticket#210-2.0.tar.gz Download (21.8 KB) - added by cthibert 6 years ago.
This includes the changes based on Paul's comments. Since the test executables were move I created a script to svn move the files before applying the patch.

Change History

Changed 6 years ago by cthibert

Includes the new API and test tools. See README.

Changed 6 years ago by cthibert

This is a working version of the API changes. Changes were made following RFC-3. Included is a file 'testgrammar' which will cause errors when parsing and illustrate the threading issue. badthreadtest tries threading with the non-safe api and threadtest uses the new api.

Changed 6 years ago by cthibert

The last tar file attachment does not have all the files required. This patch is taken from the root directory of trunk.

Changed 6 years ago by cthibert

This includes the changes based on Paul's comments. Since the test executables were move I created a script to svn move the files before applying the patch.

Changed 6 years ago by pramsey

  • milestone set to 3.1

Changed 6 years ago by pramsey

  • status changed from new to closed
  • resolution set to fixed

Committed to trunk at r2232.

Changed 5 years ago by anonymous

  • milestone 3.1.0 deleted

Milestone 3.1.0 deleted

Changed 5 years ago by pramsey

  • version set to svn-trunk
  • milestone set to 3.1.0
Note: See TracTickets for help on using tickets.