[
https://issues.apache.org/jira/browse/ZOOKEEPER-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771510#action_12771510
]
Mahadev konar commented on ZOOKEEPER-550:
-----------------------------------------
{code}
struct zkr_lock_mutex {
zhandle_t *zh;
char *path;
struct ACL_vector *acl;
char *id;
void *cbdata;
zkr_lock_completion completion;
pthread_mutex_t pmutex;
int isOwner;
char* ownerid;
};
typedef struct zkr_lock_mutex zkr_lock_mutex_t;
{code}
I see this in the zoo_queue.h and am compilation problems. Is the above needed
or a mistake?
> Java Queue Recipe
> -----------------
>
> Key: ZOOKEEPER-550
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550
> Project: Zookeeper
> Issue Type: New Feature
> Components: java client
> Affects Versions: 3.2.1
> Reporter: Steven Cheng
> Assignee: Steven Cheng
> Priority: Minor
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch,
> ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch
>
>
> This patch adds a recipe for creating a distributed queue with ZooKeeper
> similar to the WriteLock recipe and some sequential tests. This early
> attempt follows the Java BlockingQueue interface, though it doesn't implement
> it since I don't think there's a good reason for it to be Iterable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.