You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Pugachev Maxim (JIRA)" <ji...@apache.org> on 2012/06/08 09:07:23 UTC
[jira] [Commented] (AVRO-1110) avro_set_error() in AVRO C version
1.6.3 is not thread safe
[ https://issues.apache.org/jira/browse/AVRO-1110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291586#comment-13291586 ]
Pugachev Maxim commented on AVRO-1110:
--------------------------------------
It`s already fixed in this issue:
https://issues.apache.org/jira/browse/AVRO-1092
> avro_set_error() in AVRO C version 1.6.3 is not thread safe
> -----------------------------------------------------------
>
> Key: AVRO-1110
> URL: https://issues.apache.org/jira/browse/AVRO-1110
> Project: Avro
> Issue Type: Bug
> Components: c
> Affects Versions: 1.6.3
> Reporter: Sasha Pachev
> Attachments: errors.patch
>
>
> avro_set_error() is using a global buffer, which is not thread-safe. Proposed solution is instead of always using the AVRO_CURRENT_ERROR buffer to provide an option for the caller to supply its own buffer via function pointer callback.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira