projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Return success code from NFSv3 commit operations.
[bluesky.git]
/
bluesky
/
bluesky-private.h
diff --git
a/bluesky/bluesky-private.h
b/bluesky/bluesky-private.h
index
4609226
..
852b04e
100644
(file)
--- a/
bluesky/bluesky-private.h
+++ b/
bluesky/bluesky-private.h
@@
-47,7
+47,8
@@
typedef enum {
} BlueSkyAsyncStatus;
struct BlueSkyNotifierList;
} BlueSkyAsyncStatus;
struct BlueSkyNotifierList;
-typedef struct {
+typedef struct _BlueSkyStoreAsync BlueSkyStoreAsync;
+struct _BlueSkyStoreAsync {
BlueSkyStore *store;
GMutex *lock;
BlueSkyStore *store;
GMutex *lock;
@@
-63,11
+64,17
@@
typedef struct {
int result; /* Result code; 0 for success. */
struct BlueSkyNotifierList *notifiers;
int result; /* Result code; 0 for success. */
struct BlueSkyNotifierList *notifiers;
+ gint notifier_count;
+
+ /* The barrier waiting on this operation. Support for more than one
+ * barrier for a single async is not well-supported and should be avoided
+ * if possible. */
+ BlueSkyStoreAsync *barrier;
bluesky_time_hires start_time; /* Time operation was submitted. */
gpointer store_private; /* For use by the storage implementation */
bluesky_time_hires start_time; /* Time operation was submitted. */
gpointer store_private; /* For use by the storage implementation */
-}
BlueSkyStoreAsync
;
+};
/* Support for notification lists. These are lists of one-shot functions which
* can be called when certain events--primarily, competed storage
/* Support for notification lists. These are lists of one-shot functions which
* can be called when certain events--primarily, competed storage