XMMS2
Functions
collsync.c File Reference

Manages the synchronization of collections to the database at 10 seconds after the last collections-change. More...

#include "xmmspriv/xmms_collsync.h"
#include "xmmspriv/xmms_thread_name.h"
#include "xmms/xmms_log.h"
#include <glib.h>

Go to the source code of this file.

Functions

void xmms_coll_sync_init (xmms_coll_dag_t *dag)
 Get the collection-to-database-synchronization thread running. More...
 
void xmms_coll_sync_shutdown ()
 Shutdown the collection-to-database-synchronization thread. More...
 
void xmms_coll_sync_schedule_sync ()
 Schedule a collection-to-database-synchronization in 10 seconds. More...
 

Detailed Description

Manages the synchronization of collections to the database at 10 seconds after the last collections-change.

Definition in file collsync.c.

Function Documentation

◆ xmms_coll_sync_init()

void xmms_coll_sync_init ( xmms_coll_dag_t dag)

Get the collection-to-database-synchronization thread running.

Definition at line 84 of file collsync.c.

◆ xmms_coll_sync_schedule_sync()

void xmms_coll_sync_schedule_sync ( void  )

Schedule a collection-to-database-synchronization in 10 seconds.

Definition at line 113 of file collsync.c.

◆ xmms_coll_sync_shutdown()

void xmms_coll_sync_shutdown ( void  )

Shutdown the collection-to-database-synchronization thread.

Definition at line 96 of file collsync.c.