g_free(async);
g_log("bluesky/store", G_LOG_LEVEL_DEBUG,
"freeing async");
- g_print("Freed async\n");
}
}
}
}
-static void test_notifier(gpointer a, gpointer u)
-{
- g_print("Notifier called!\n");
-}
-
void bluesky_store_async_submit(BlueSkyStoreAsync *async)
{
BlueSkyStore *store = async->store;
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)
static void op_complete(gpointer a, gpointer b)
{
- BlueSkyStoreAsync *async = (BlueSkyStoreAsync *)a;
BlueSkyStoreAsync *barrier = (BlueSkyStoreAsync *)b;
g_mutex_lock(barrier->lock);