projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Track when cached file data is written out.
[bluesky.git]
/
bluesky
/
store.c
diff --git
a/bluesky/store.c
b/bluesky/store.c
index
03d4c4a
..
022deeb
100644
(file)
--- a/
bluesky/store.c
+++ b/
bluesky/store.c
@@
-112,7
+112,6
@@
void bluesky_store_async_unref(BlueSkyStoreAsync *async)
g_free(async);
g_log("bluesky/store", G_LOG_LEVEL_DEBUG,
"freeing async");
g_free(async);
g_log("bluesky/store", G_LOG_LEVEL_DEBUG,
"freeing async");
- g_print("Freed async\n");
}
}
}
}
@@
-175,11
+174,6
@@
void bluesky_store_async_mark_complete(BlueSkyStoreAsync *async)
}
}
}
}
-static void test_notifier(gpointer a, gpointer u)
-{
- g_print("Notifier called!\n");
-}
-
void bluesky_store_async_submit(BlueSkyStoreAsync *async)
{
BlueSkyStore *store = async->store;
void bluesky_store_async_submit(BlueSkyStoreAsync *async)
{
BlueSkyStore *store = async->store;
@@
-203,7
+197,6
@@
void bluesky_store_async_submit(BlueSkyStoreAsync *async)
async->store->pending++;
g_mutex_unlock(async->store->lock);
async->store->pending++;
g_mutex_unlock(async->store->lock);
- bluesky_store_async_add_notifier(async, test_notifier, NULL);
store->impl->submit(store->handle, async);
if (bluesky_options.synchronous_stores)
store->impl->submit(store->handle, async);
if (bluesky_options.synchronous_stores)
@@
-212,7
+205,6
@@
void bluesky_store_async_submit(BlueSkyStoreAsync *async)
static void op_complete(gpointer a, gpointer b)
{
static void op_complete(gpointer a, gpointer b)
{
- BlueSkyStoreAsync *async = (BlueSkyStoreAsync *)a;
BlueSkyStoreAsync *barrier = (BlueSkyStoreAsync *)b;
g_mutex_lock(barrier->lock);
BlueSkyStoreAsync *barrier = (BlueSkyStoreAsync *)b;
g_mutex_lock(barrier->lock);