myMPD
Internal API documentation
Loading...
Searching...
No Matches
mympd_worker.h File Reference

MPD worker thread implementation. More...

#include "src/lib/api.h"
#include "src/lib/mympd_state.h"
Include dependency graph for mympd_worker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool mympd_worker_start (struct t_mympd_state *mympd_state, struct t_partition_state *partition_state, struct t_work_request *request)
 

Detailed Description

MPD worker thread implementation.

Function Documentation

◆ mympd_worker_start()

bool mympd_worker_start ( struct t_mympd_state mympd_state,
struct t_partition_state partition_state,
struct t_work_request request 
)

Public functions Starts the worker thread in detached state.

Parameters
mympd_statepointer to mympd_state struct
partition_statepointer to partition_state struct
requestthe work request
Returns
true on success, else false